pub struct Protocol {
pub protocol_enabled: Option<Option<Boolean>>,
pub port: Option<Option<Int64>>,
}Expand description
The settings for a network protocol associated with a manager.
This type shall describe information about a protocol setting for a manager.
Fields§
§protocol_enabled: Option<Option<Boolean>>An indication of whether the protocol is enabled.
This property shall indicate whether the protocol is enabled.
port: Option<Option<Int64>>The protocol port.
This property shall contain the port assigned to the protocol.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Protocol
impl<'de> Deserialize<'de> for Protocol
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
impl Send for Protocol
SAFETY: All generated data types are Send
impl Sync for Protocol
SAFETY: All generated data types are Sync
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Unpin for Protocol
impl UnsafeUnpin for Protocol
impl UnwindSafe for Protocol
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