pub struct MaxPrefix {
pub max_prefix_number: Option<i64>,
pub restart_timer_seconds: Option<i64>,
pub shutdown_threshold_percentage: Option<f64>,
pub threshold_warning_only_enabled: Option<bool>,
}Expand description
Border Gateway Protocol (BGP) max prefix properties.
Fields§
§max_prefix_number: Option<i64>Maximum prefix number.
restart_timer_seconds: Option<i64>Border Gateway Protocol (BGP) restart timer in seconds.
shutdown_threshold_percentage: Option<f64>Shutdown threshold status.
threshold_warning_only_enabled: Option<bool>Threshold warning only status.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MaxPrefix
impl<'de> Deserialize<'de> for MaxPrefix
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 Metadata<'static> for MaxPrefix
impl Metadata<'static> for MaxPrefix
Source§const JSON_SCHEMA: &'static str = "AddressPool.v1_2_2.json"
const JSON_SCHEMA: &'static str = "AddressPool.v1_2_2.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for MaxPrefix
impl RefUnwindSafe for MaxPrefix
impl Send for MaxPrefix
impl Sync for MaxPrefix
impl Unpin for MaxPrefix
impl UnsafeUnpin for MaxPrefix
impl UnwindSafe for MaxPrefix
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