pub struct DeviceRoutes {
pub advertised_routes: Option<Vec<String>>,
pub enabled_routes: Option<Vec<String>>,
pub unknown: Unknown,
}Expand description
The routes a device advertises, and which of them are approved.
Fields§
§advertised_routes: Option<Vec<String>>§enabled_routes: Option<Vec<String>>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceRoutes
impl Clone for DeviceRoutes
Source§impl Debug for DeviceRoutes
impl Debug for DeviceRoutes
Source§impl<'de> Deserialize<'de> for DeviceRoutes
impl<'de> Deserialize<'de> for DeviceRoutes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeviceRoutes
impl PartialEq for DeviceRoutes
Source§impl Serialize for DeviceRoutes
impl Serialize for DeviceRoutes
impl StructuralPartialEq for DeviceRoutes
Auto Trait Implementations§
impl Freeze for DeviceRoutes
impl RefUnwindSafe for DeviceRoutes
impl Send for DeviceRoutes
impl Sync for DeviceRoutes
impl Unpin for DeviceRoutes
impl UnsafeUnpin for DeviceRoutes
impl UnwindSafe for DeviceRoutes
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