pub struct CustodyCall {
pub protocol: String,
pub attribution: UseAttribution,
pub op: CustodyOp,
}Expand description
One call over the transport.
Fields§
§protocol: StringMust equal CUSTODY_PROTOCOL; the custodian refuses others.
attribution: UseAttribution§op: CustodyOpImplementations§
Source§impl CustodyCall
impl CustodyCall
pub fn new(attribution: UseAttribution, op: CustodyOp) -> Self
Trait Implementations§
Source§impl Clone for CustodyCall
impl Clone for CustodyCall
Source§fn clone(&self) -> CustodyCall
fn clone(&self) -> CustodyCall
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 CustodyCall
impl Debug for CustodyCall
Source§impl<'de> Deserialize<'de> for CustodyCall
impl<'de> Deserialize<'de> for CustodyCall
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 Eq for CustodyCall
Source§impl PartialEq for CustodyCall
impl PartialEq for CustodyCall
Source§impl Serialize for CustodyCall
impl Serialize for CustodyCall
impl StructuralPartialEq for CustodyCall
Auto Trait Implementations§
impl Freeze for CustodyCall
impl RefUnwindSafe for CustodyCall
impl Send for CustodyCall
impl Sync for CustodyCall
impl Unpin for CustodyCall
impl UnsafeUnpin for CustodyCall
impl UnwindSafe for CustodyCall
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