#[repr(C)]pub struct ngx_stream_upstream_host_t {
pub event: ngx_event_s,
pub worker: usize,
pub name: ngx_str_t,
pub service: ngx_str_t,
pub valid: i64,
pub peers: *mut ngx_stream_upstream_rr_peers_s,
pub peer: *mut ngx_stream_upstream_rr_peer_s,
}
Fields§
§event: ngx_event_s
§worker: usize
§name: ngx_str_t
§service: ngx_str_t
§valid: i64
§peers: *mut ngx_stream_upstream_rr_peers_s
§peer: *mut ngx_stream_upstream_rr_peer_s
Trait Implementations§
Source§impl Clone for ngx_stream_upstream_host_t
impl Clone for ngx_stream_upstream_host_t
Source§fn clone(&self) -> ngx_stream_upstream_host_t
fn clone(&self) -> ngx_stream_upstream_host_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_stream_upstream_host_t
impl Debug for ngx_stream_upstream_host_t
impl Copy for ngx_stream_upstream_host_t
Auto Trait Implementations§
impl Freeze for ngx_stream_upstream_host_t
impl RefUnwindSafe for ngx_stream_upstream_host_t
impl !Send for ngx_stream_upstream_host_t
impl !Sync for ngx_stream_upstream_host_t
impl Unpin for ngx_stream_upstream_host_t
impl UnwindSafe for ngx_stream_upstream_host_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more