pub struct GetBlobParams {
pub x_capsule_request_signature: Option<XCapsuleRequestSignature>,
pub range: Option<RangeBcdb98d1>,
pub if_range: Option<IfRange09bccb80>,
pub if_match: Option<IfMatch90547a27>,
pub if_unmodified_since: Option<IfUnmodifiedSince0a5e5806>,
pub if_none_match: Option<IfNoneMatch3ca6df85>,
pub if_modified_since: Option<IfModifiedSince3e86aa54>,
pub x_capsule_protocol: XcapsuleProtocolEd08760b,
pub x_capsule_crypto_suite: Option<XcapsuleCryptoSuite8366199a>,
pub x_capsule_sidecar_schema: Option<XcapsuleSidecarSchemaB7f17f4a>,
}Fields§
§x_capsule_request_signature: Option<XCapsuleRequestSignature>§range: Option<RangeBcdb98d1>§if_range: Option<IfRange09bccb80>§if_match: Option<IfMatch90547a27>§if_unmodified_since: Option<IfUnmodifiedSince0a5e5806>§if_none_match: Option<IfNoneMatch3ca6df85>§if_modified_since: Option<IfModifiedSince3e86aa54>§x_capsule_protocol: XcapsuleProtocolEd08760b§x_capsule_crypto_suite: Option<XcapsuleCryptoSuite8366199a>§x_capsule_sidecar_schema: Option<XcapsuleSidecarSchemaB7f17f4a>Implementations§
Source§impl GetBlobParams
impl GetBlobParams
Sourcepub fn x_capsule_request_signature(
self,
value: impl Into<XCapsuleRequestSignature>,
) -> Self
pub fn x_capsule_request_signature( self, value: impl Into<XCapsuleRequestSignature>, ) -> Self
Set the X-Capsule-Request-Signature parameter.
Sourcepub fn range(self, value: impl Into<RangeBcdb98d1>) -> Self
pub fn range(self, value: impl Into<RangeBcdb98d1>) -> Self
Set the Range parameter.
Sourcepub fn if_range(self, value: impl Into<IfRange09bccb80>) -> Self
pub fn if_range(self, value: impl Into<IfRange09bccb80>) -> Self
Set the If-Range parameter.
Sourcepub fn if_match(self, value: impl Into<IfMatch90547a27>) -> Self
pub fn if_match(self, value: impl Into<IfMatch90547a27>) -> Self
Set the If-Match parameter.
Sourcepub fn if_unmodified_since(
self,
value: impl Into<IfUnmodifiedSince0a5e5806>,
) -> Self
pub fn if_unmodified_since( self, value: impl Into<IfUnmodifiedSince0a5e5806>, ) -> Self
Set the If-Unmodified-Since parameter.
Sourcepub fn if_none_match(self, value: impl Into<IfNoneMatch3ca6df85>) -> Self
pub fn if_none_match(self, value: impl Into<IfNoneMatch3ca6df85>) -> Self
Set the If-None-Match parameter.
Sourcepub fn if_modified_since(
self,
value: impl Into<IfModifiedSince3e86aa54>,
) -> Self
pub fn if_modified_since( self, value: impl Into<IfModifiedSince3e86aa54>, ) -> Self
Set the If-Modified-Since parameter.
Sourcepub fn x_capsule_crypto_suite(self, value: XcapsuleCryptoSuite8366199a) -> Self
pub fn x_capsule_crypto_suite(self, value: XcapsuleCryptoSuite8366199a) -> Self
Set the X-Capsule-Crypto-Suite parameter.
Sourcepub fn x_capsule_sidecar_schema(
self,
value: XcapsuleSidecarSchemaB7f17f4a,
) -> Self
pub fn x_capsule_sidecar_schema( self, value: XcapsuleSidecarSchemaB7f17f4a, ) -> Self
Set the X-Capsule-Sidecar-Schema parameter.
Trait Implementations§
Source§impl Clone for GetBlobParams
impl Clone for GetBlobParams
Source§fn clone(&self) -> GetBlobParams
fn clone(&self) -> GetBlobParams
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 GetBlobParams
impl Debug for GetBlobParams
Source§impl From<GetBlobParamsRequired> for GetBlobParams
impl From<GetBlobParamsRequired> for GetBlobParams
Source§fn from(required: GetBlobParamsRequired) -> Self
fn from(required: GetBlobParamsRequired) -> Self
The parameters with every required one taken from GetBlobParamsRequired and every optional one unset.
Auto Trait Implementations§
impl Freeze for GetBlobParams
impl RefUnwindSafe for GetBlobParams
impl Send for GetBlobParams
impl Sync for GetBlobParams
impl Unpin for GetBlobParams
impl UnsafeUnpin for GetBlobParams
impl UnwindSafe for GetBlobParams
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