pub struct Envelope {
pub id: EnvelopeId,
pub credential_vaults: Vec<CredentialVault>,
pub nonce: XNonce,
pub message_vault_passport_ciphertext: Vec<u8>,
}Fields§
§id: EnvelopeId§credential_vaults: Vec<CredentialVault>§nonce: XNonce§message_vault_passport_ciphertext: Vec<u8>Trait Implementations§
Source§impl ProstCommunicable<Request> for Envelope
impl ProstCommunicable<Request> for Envelope
const COMMUNICATION_VARIANT: Request = Request::Envelope
fn to_communication_via_prost(&self) -> Communication<T>
fn try_from_communication( communication: &Communication<T>, ) -> Result<Self, DecodeError>
Source§impl ProstCommunicable<Response> for Envelope
impl ProstCommunicable<Response> for Envelope
const COMMUNICATION_VARIANT: Response = Response::Envelope
fn to_communication_via_prost(&self) -> Communication<T>
fn try_from_communication( communication: &Communication<T>, ) -> Result<Self, DecodeError>
Source§impl ProstDecode for Envelope
impl ProstDecode for Envelope
type EncodedType = Envelope
fn decode<M>(message: M) -> Result<Self, DecodeError>
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnwindSafe for Envelope
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