pub struct EffectiveRouteProperties {
pub metric: u32,
}
Expand description
The effective properties of a route. This type enforces that all required
fields from fnet_routes::EffectiveRouteProperties
are set.
Fields§
§metric: u32
The effective metric of the route.
Trait Implementations§
Source§impl Clone for EffectiveRouteProperties
impl Clone for EffectiveRouteProperties
Source§fn clone(&self) -> EffectiveRouteProperties
fn clone(&self) -> EffectiveRouteProperties
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 EffectiveRouteProperties
impl Debug for EffectiveRouteProperties
Source§impl From<EffectiveRouteProperties> for EffectiveRouteProperties
impl From<EffectiveRouteProperties> for EffectiveRouteProperties
Source§fn from(
effective_properties: EffectiveRouteProperties,
) -> EffectiveRouteProperties
fn from( effective_properties: EffectiveRouteProperties, ) -> EffectiveRouteProperties
Converts to this type from the input type.
Source§impl Hash for EffectiveRouteProperties
impl Hash for EffectiveRouteProperties
Source§impl Ord for EffectiveRouteProperties
impl Ord for EffectiveRouteProperties
Source§fn cmp(&self, other: &EffectiveRouteProperties) -> Ordering
fn cmp(&self, other: &EffectiveRouteProperties) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EffectiveRouteProperties
impl PartialEq for EffectiveRouteProperties
Source§impl PartialOrd for EffectiveRouteProperties
impl PartialOrd for EffectiveRouteProperties
Source§impl TryFrom<EffectiveRouteProperties> for EffectiveRouteProperties
impl TryFrom<EffectiveRouteProperties> for EffectiveRouteProperties
Source§type Error = FidlConversionError<EffectiveRoutePropertiesRequiredFields>
type Error = FidlConversionError<EffectiveRoutePropertiesRequiredFields>
The type returned in the event of a conversion error.
impl Copy for EffectiveRouteProperties
impl Eq for EffectiveRouteProperties
impl StructuralPartialEq for EffectiveRouteProperties
Auto Trait Implementations§
impl Freeze for EffectiveRouteProperties
impl RefUnwindSafe for EffectiveRouteProperties
impl Send for EffectiveRouteProperties
impl Sync for EffectiveRouteProperties
impl Unpin for EffectiveRouteProperties
impl UnwindSafe for EffectiveRouteProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.