pub struct ToolAuthorityEnvelope {
pub sequence: u64,
pub command: ToolAuthorityCommand,
}Fields§
§sequence: u64§command: ToolAuthorityCommandImplementations§
Source§impl ToolAuthorityEnvelope
impl ToolAuthorityEnvelope
pub fn validate(&self) -> Result<(), ToolValidationError>
Trait Implementations§
Source§impl Clone for ToolAuthorityEnvelope
impl Clone for ToolAuthorityEnvelope
Source§fn clone(&self) -> ToolAuthorityEnvelope
fn clone(&self) -> ToolAuthorityEnvelope
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 ToolAuthorityEnvelope
impl Debug for ToolAuthorityEnvelope
Source§impl<'de> Deserialize<'de> for ToolAuthorityEnvelope
impl<'de> Deserialize<'de> for ToolAuthorityEnvelope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolAuthorityEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolAuthorityEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolAuthorityEnvelope
Source§impl PartialEq for ToolAuthorityEnvelope
impl PartialEq for ToolAuthorityEnvelope
Source§impl Serialize for ToolAuthorityEnvelope
impl Serialize for ToolAuthorityEnvelope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ToolAuthorityEnvelope
Auto Trait Implementations§
impl Freeze for ToolAuthorityEnvelope
impl RefUnwindSafe for ToolAuthorityEnvelope
impl Send for ToolAuthorityEnvelope
impl Sync for ToolAuthorityEnvelope
impl Unpin for ToolAuthorityEnvelope
impl UnsafeUnpin for ToolAuthorityEnvelope
impl UnwindSafe for ToolAuthorityEnvelope
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