Struct someip_parse::sd_options::LoadBalancingOption
source · pub struct LoadBalancingOption {
pub discardable: bool,
pub priority: u16,
pub weight: u16,
}
Fields§
§discardable: bool
Shall be set to true
if the option can be discarded by the receiver.
priority: u16
§weight: u16
Trait Implementations§
source§impl Clone for LoadBalancingOption
impl Clone for LoadBalancingOption
source§fn clone(&self) -> LoadBalancingOption
fn clone(&self) -> LoadBalancingOption
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 LoadBalancingOption
impl Debug for LoadBalancingOption
source§impl From<LoadBalancingOption> for SdOption
impl From<LoadBalancingOption> for SdOption
source§fn from(o: LoadBalancingOption) -> Self
fn from(o: LoadBalancingOption) -> Self
Converts to this type from the input type.
source§impl PartialEq for LoadBalancingOption
impl PartialEq for LoadBalancingOption
source§fn eq(&self, other: &LoadBalancingOption) -> bool
fn eq(&self, other: &LoadBalancingOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LoadBalancingOption
impl StructuralEq for LoadBalancingOption
impl StructuralPartialEq for LoadBalancingOption
Auto Trait Implementations§
impl RefUnwindSafe for LoadBalancingOption
impl Send for LoadBalancingOption
impl Sync for LoadBalancingOption
impl Unpin for LoadBalancingOption
impl UnwindSafe for LoadBalancingOption
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