pub struct ServerDirective {
pub host: String,
pub is_pool: bool,
pub iburst: bool,
pub min_poll: Option<i8>,
pub max_poll: Option<i8>,
}Fields§
§host: String§is_pool: bool§iburst: bool§min_poll: Option<i8>§max_poll: Option<i8>Trait Implementations§
Source§impl Clone for ServerDirective
impl Clone for ServerDirective
Source§fn clone(&self) -> ServerDirective
fn clone(&self) -> ServerDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServerDirective
impl Debug for ServerDirective
Source§impl PartialEq for ServerDirective
impl PartialEq for ServerDirective
impl StructuralPartialEq for ServerDirective
Auto Trait Implementations§
impl Freeze for ServerDirective
impl RefUnwindSafe for ServerDirective
impl Send for ServerDirective
impl Sync for ServerDirective
impl Unpin for ServerDirective
impl UnsafeUnpin for ServerDirective
impl UnwindSafe for ServerDirective
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