pub struct ProtocolUpdate {
pub protocol_enabled: Option<Boolean>,
pub port: Option<Int64>,
}Expand description
Update struct corresponding to Protocol
Fields§
§protocol_enabled: Option<Boolean>§port: Option<Int64>Implementations§
Trait Implementations§
Source§impl Debug for ProtocolUpdate
impl Debug for ProtocolUpdate
Source§impl Default for ProtocolUpdate
impl Default for ProtocolUpdate
Source§fn default() -> ProtocolUpdate
fn default() -> ProtocolUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolUpdate
impl RefUnwindSafe for ProtocolUpdate
impl Send for ProtocolUpdate
impl Sync for ProtocolUpdate
impl Unpin for ProtocolUpdate
impl UnsafeUnpin for ProtocolUpdate
impl UnwindSafe for ProtocolUpdate
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