pub struct PeerOperationRequestV1 {
pub capability: String,
pub envelope: PeerRpcEnvelope,
}Expand description
Explicit capability offer and complete signed command envelope. Bound input before decoding.
Fields§
§capability: StringMust equal peer.availability.v1; unknown profiles fail closed.
envelope: PeerRpcEnvelopeFrozen V1 identity, payload integrity, deadline and fresh nonce fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PeerOperationRequestV1
impl<'de> Deserialize<'de> for PeerOperationRequestV1
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeerOperationRequestV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeerOperationRequestV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PeerOperationRequestV1
impl Serialize for PeerOperationRequestV1
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
Auto Trait Implementations§
impl Forget for PeerOperationRequestV1
impl Freeze for PeerOperationRequestV1
impl RefUnwindSafe for PeerOperationRequestV1
impl Send for PeerOperationRequestV1
impl Sync for PeerOperationRequestV1
impl Unpin for PeerOperationRequestV1
impl UnsafeUnpin for PeerOperationRequestV1
impl UnwindSafe for PeerOperationRequestV1
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