pub struct ProvisionLinkRequest {
pub opaque_id: ProvisionLinkRequestOpaqueId,
pub drop_pubkey: ProvisionLinkRequestDropPubkey,
pub crypto_suite_id: ProvisionLinkRequestCryptoSuiteId,
pub expires_at: Nullable<ProvisionLinkRequestExpiresAt>,
pub max_total_bytes: Nullable<ProvisionLinkRequestMaxTotalBytes>,
pub max_file_count: Nullable<ProvisionLinkRequestMaxFileCount>,
pub max_file_size: Nullable<ProvisionLinkRequestMaxFileSize>,
pub single_use: Option<ProvisionLinkRequestSingleUse>,
pub passphrase_verifier: Nullable<ProvisionLinkRequestPassphraseVerifier>,
}Expand description
A link the owner is provisioning.
Fields§
§opaque_id: ProvisionLinkRequestOpaqueId§drop_pubkey: ProvisionLinkRequestDropPubkey§crypto_suite_id: ProvisionLinkRequestCryptoSuiteId§expires_at: Nullable<ProvisionLinkRequestExpiresAt>§max_total_bytes: Nullable<ProvisionLinkRequestMaxTotalBytes>§max_file_count: Nullable<ProvisionLinkRequestMaxFileCount>§max_file_size: Nullable<ProvisionLinkRequestMaxFileSize>§single_use: Option<ProvisionLinkRequestSingleUse>§passphrase_verifier: Nullable<ProvisionLinkRequestPassphraseVerifier>Implementations§
Source§impl ProvisionLinkRequest
impl ProvisionLinkRequest
Sourcepub fn with_expires_at(
self,
value: impl Into<Nullable<ProvisionLinkRequestExpiresAt>>,
) -> Self
pub fn with_expires_at( self, value: impl Into<Nullable<ProvisionLinkRequestExpiresAt>>, ) -> Self
Set the expires_at member: a value, or Nullable::Null for an explicit null.
Sourcepub fn with_expires_at_null(self) -> Self
pub fn with_expires_at_null(self) -> Self
Set the expires_at member to an explicit null.
Sourcepub fn with_max_total_bytes(
self,
value: impl Into<Nullable<ProvisionLinkRequestMaxTotalBytes>>,
) -> Self
pub fn with_max_total_bytes( self, value: impl Into<Nullable<ProvisionLinkRequestMaxTotalBytes>>, ) -> Self
Set the max_total_bytes member: a value, or Nullable::Null for an explicit null.
Sourcepub fn with_max_total_bytes_null(self) -> Self
pub fn with_max_total_bytes_null(self) -> Self
Set the max_total_bytes member to an explicit null.
Sourcepub fn with_max_file_count(
self,
value: impl Into<Nullable<ProvisionLinkRequestMaxFileCount>>,
) -> Self
pub fn with_max_file_count( self, value: impl Into<Nullable<ProvisionLinkRequestMaxFileCount>>, ) -> Self
Set the max_file_count member: a value, or Nullable::Null for an explicit null.
Sourcepub fn with_max_file_count_null(self) -> Self
pub fn with_max_file_count_null(self) -> Self
Set the max_file_count member to an explicit null.
Sourcepub fn with_max_file_size(
self,
value: impl Into<Nullable<ProvisionLinkRequestMaxFileSize>>,
) -> Self
pub fn with_max_file_size( self, value: impl Into<Nullable<ProvisionLinkRequestMaxFileSize>>, ) -> Self
Set the max_file_size member: a value, or Nullable::Null for an explicit null.
Sourcepub fn with_max_file_size_null(self) -> Self
pub fn with_max_file_size_null(self) -> Self
Set the max_file_size member to an explicit null.
Sourcepub fn with_single_use(
self,
value: impl Into<ProvisionLinkRequestSingleUse>,
) -> Self
pub fn with_single_use( self, value: impl Into<ProvisionLinkRequestSingleUse>, ) -> Self
Set the single_use member.
Sourcepub fn with_passphrase_verifier(
self,
value: impl Into<Nullable<ProvisionLinkRequestPassphraseVerifier>>,
) -> Self
pub fn with_passphrase_verifier( self, value: impl Into<Nullable<ProvisionLinkRequestPassphraseVerifier>>, ) -> Self
Set the passphrase_verifier member: a value, or Nullable::Null for an explicit null.
Sourcepub fn with_passphrase_verifier_null(self) -> Self
pub fn with_passphrase_verifier_null(self) -> Self
Set the passphrase_verifier member to an explicit null.
Trait Implementations§
Source§impl Clone for ProvisionLinkRequest
impl Clone for ProvisionLinkRequest
Source§fn clone(&self) -> ProvisionLinkRequest
fn clone(&self) -> ProvisionLinkRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProvisionLinkRequest
impl Debug for ProvisionLinkRequest
Source§impl<'de> Deserialize<'de> for ProvisionLinkRequest
impl<'de> Deserialize<'de> for ProvisionLinkRequest
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>,
Source§impl From<ProvisionLinkRequestRequired> for ProvisionLinkRequest
impl From<ProvisionLinkRequestRequired> for ProvisionLinkRequest
Source§fn from(required: ProvisionLinkRequestRequired) -> Self
fn from(required: ProvisionLinkRequestRequired) -> Self
A ProvisionLinkRequest holding the members ProvisionLinkRequestRequired holds, and every optional member unset, a member with a schema default included.
Source§impl PartialEq for ProvisionLinkRequest
impl PartialEq for ProvisionLinkRequest
Source§fn eq(&self, other: &ProvisionLinkRequest) -> bool
fn eq(&self, other: &ProvisionLinkRequest) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ProvisionLinkRequest
impl Serialize for ProvisionLinkRequest
impl StructuralPartialEq for ProvisionLinkRequest
Auto Trait Implementations§
impl Freeze for ProvisionLinkRequest
impl RefUnwindSafe for ProvisionLinkRequest
impl Send for ProvisionLinkRequest
impl Sync for ProvisionLinkRequest
impl Unpin for ProvisionLinkRequest
impl UnsafeUnpin for ProvisionLinkRequest
impl UnwindSafe for ProvisionLinkRequest
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
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
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>
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>
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