pub struct TypeDidWrapRequest<'a> {
pub id: String,
pub from: Did,
pub to: Did,
pub conversation_id: String,
pub mode: TypeDidMode,
pub body: DidMessageBody,
pub payload: &'a [u8],
pub local_profiles: &'a [TypeDidProfile],
pub remote_profiles: &'a [TypeDidProfile],
}Expand description
Inputs for wrapping a payload in a TypeDID transport adapter.
Fields§
§id: StringEnvelope id.
from: DidSender DID.
to: DidRecipient DID.
conversation_id: StringOuter conversation/task/room/session id.
mode: TypeDidModeSend mode.
body: DidMessageBodyPolicy-visible body.
payload: &'a [u8]Plaintext payload bytes.
local_profiles: &'a [TypeDidProfile]Local TypeDID profiles.
remote_profiles: &'a [TypeDidProfile]Remote TypeDID profiles.
Auto Trait Implementations§
impl<'a> Freeze for TypeDidWrapRequest<'a>
impl<'a> RefUnwindSafe for TypeDidWrapRequest<'a>
impl<'a> Send for TypeDidWrapRequest<'a>
impl<'a> Sync for TypeDidWrapRequest<'a>
impl<'a> Unpin for TypeDidWrapRequest<'a>
impl<'a> UnsafeUnpin for TypeDidWrapRequest<'a>
impl<'a> UnwindSafe for TypeDidWrapRequest<'a>
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