pub struct ProtocolDriverState {
pub plugin_id: String,
pub payload: Value,
}Fields§
§plugin_id: String§payload: ValueImplementations§
Trait Implementations§
Source§impl Clone for ProtocolDriverState
impl Clone for ProtocolDriverState
Source§fn clone(&self) -> ProtocolDriverState
fn clone(&self) -> ProtocolDriverState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtocolDriverState
impl Debug for ProtocolDriverState
Source§impl Default for ProtocolDriverState
impl Default for ProtocolDriverState
Source§fn default() -> ProtocolDriverState
fn default() -> ProtocolDriverState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtocolDriverState
impl<'de> Deserialize<'de> for ProtocolDriverState
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
Auto Trait Implementations§
impl Freeze for ProtocolDriverState
impl RefUnwindSafe for ProtocolDriverState
impl Send for ProtocolDriverState
impl Sync for ProtocolDriverState
impl Unpin for ProtocolDriverState
impl UnsafeUnpin for ProtocolDriverState
impl UnwindSafe for ProtocolDriverState
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