pub struct ManifestEnvelopeRequired {Show 13 fields
pub crypto_suite_id: ManifestEnvelopeCryptoSuiteId,
pub protocol_version: ManifestEnvelopeProtocolVersion,
pub file_id: ManifestEnvelopeFileId,
pub amk_version: ManifestEnvelopeAmkVersion,
pub ciphertext_hash: ManifestEnvelopeCiphertextHash,
pub plaintext_size: ManifestEnvelopePlaintextSize,
pub chunk_size: ManifestEnvelopeChunkSize,
pub key_mode: ManifestEnvelopeKeyMode,
pub created_by_user: ManifestEnvelopeCreatedByUser,
pub created_by_device: ManifestEnvelopeCreatedByDevice,
pub client_version: ManifestEnvelopeClientVersion,
pub timestamp: ManifestEnvelopeTimestamp,
pub action: ManifestEnvelopeAction,
}Expand description
The required members of ManifestEnvelope, which converts from this with every other member unset.
Fields§
§crypto_suite_id: ManifestEnvelopeCryptoSuiteIdThe crypto_suite_id member.
protocol_version: ManifestEnvelopeProtocolVersionThe protocol_version member.
file_id: ManifestEnvelopeFileIdThe file_id member.
amk_version: ManifestEnvelopeAmkVersionThe amk_version member.
ciphertext_hash: ManifestEnvelopeCiphertextHashThe ciphertext_hash member.
plaintext_size: ManifestEnvelopePlaintextSizeThe plaintext_size member.
chunk_size: ManifestEnvelopeChunkSizeThe chunk_size member.
key_mode: ManifestEnvelopeKeyModeThe key_mode member.
created_by_user: ManifestEnvelopeCreatedByUserThe created_by_user member.
created_by_device: ManifestEnvelopeCreatedByDeviceThe created_by_device member.
client_version: ManifestEnvelopeClientVersionThe client_version member.
timestamp: ManifestEnvelopeTimestampThe timestamp member.
action: ManifestEnvelopeActionThe action member.
Trait Implementations§
Source§impl Clone for ManifestEnvelopeRequired
impl Clone for ManifestEnvelopeRequired
Source§fn clone(&self) -> ManifestEnvelopeRequired
fn clone(&self) -> ManifestEnvelopeRequired
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 ManifestEnvelopeRequired
impl Debug for ManifestEnvelopeRequired
Source§impl From<ManifestEnvelopeRequired> for ManifestEnvelope
impl From<ManifestEnvelopeRequired> for ManifestEnvelope
Source§fn from(required: ManifestEnvelopeRequired) -> Self
fn from(required: ManifestEnvelopeRequired) -> Self
A ManifestEnvelope holding the members ManifestEnvelopeRequired holds, and every optional member unset, a member with a schema default included.
Source§impl PartialEq for ManifestEnvelopeRequired
impl PartialEq for ManifestEnvelopeRequired
Source§fn eq(&self, other: &ManifestEnvelopeRequired) -> bool
fn eq(&self, other: &ManifestEnvelopeRequired) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ManifestEnvelopeRequired
Auto Trait Implementations§
impl Freeze for ManifestEnvelopeRequired
impl RefUnwindSafe for ManifestEnvelopeRequired
impl Send for ManifestEnvelopeRequired
impl Sync for ManifestEnvelopeRequired
impl Unpin for ManifestEnvelopeRequired
impl UnsafeUnpin for ManifestEnvelopeRequired
impl UnwindSafe for ManifestEnvelopeRequired
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more