Struct CryptCreateKeyWithIdResponse
pub struct CryptCreateKeyWithIdResponse {
pub wrapped_key: Vec<u8>,
pub unwrapped_key: Vec<u8>,
}
Fields§
§wrapped_key: Vec<u8>
§unwrapped_key: Vec<u8>
Trait Implementations§
§impl Clone for CryptCreateKeyWithIdResponse
impl Clone for CryptCreateKeyWithIdResponse
§fn clone(&self) -> CryptCreateKeyWithIdResponse
fn clone(&self) -> CryptCreateKeyWithIdResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for CryptCreateKeyWithIdResponse
impl Debug for CryptCreateKeyWithIdResponse
§impl<D> Decode<CryptCreateKeyWithIdResponse, D> for CryptCreateKeyWithIdResponsewhere
D: ResourceDialect,
impl<D> Decode<CryptCreateKeyWithIdResponse, D> for CryptCreateKeyWithIdResponsewhere
D: ResourceDialect,
§fn new_empty() -> CryptCreateKeyWithIdResponse
fn new_empty() -> CryptCreateKeyWithIdResponse
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<CryptCreateKeyWithIdResponse, D> for &CryptCreateKeyWithIdResponsewhere
D: ResourceDialect,
impl<D> Encode<CryptCreateKeyWithIdResponse, D> for &CryptCreateKeyWithIdResponsewhere
D: ResourceDialect,
§impl Hash for CryptCreateKeyWithIdResponse
impl Hash for CryptCreateKeyWithIdResponse
§impl Ord for CryptCreateKeyWithIdResponse
impl Ord for CryptCreateKeyWithIdResponse
§fn cmp(&self, other: &CryptCreateKeyWithIdResponse) -> Ordering
fn cmp(&self, other: &CryptCreateKeyWithIdResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for CryptCreateKeyWithIdResponse
impl PartialEq for CryptCreateKeyWithIdResponse
§impl PartialOrd for CryptCreateKeyWithIdResponse
impl PartialOrd for CryptCreateKeyWithIdResponse
§impl TypeMarker for CryptCreateKeyWithIdResponse
impl TypeMarker for CryptCreateKeyWithIdResponse
§type Owned = CryptCreateKeyWithIdResponse
type Owned = CryptCreateKeyWithIdResponse
The owned Rust type which this FIDL type decodes into.
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for CryptCreateKeyWithIdResponse
impl ValueTypeMarker for CryptCreateKeyWithIdResponse
§type Borrowed<'a> = &'a CryptCreateKeyWithIdResponse
type Borrowed<'a> = &'a CryptCreateKeyWithIdResponse
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<CryptCreateKeyWithIdResponse as TypeMarker>::Owned,
) -> <CryptCreateKeyWithIdResponse as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<CryptCreateKeyWithIdResponse as TypeMarker>::Owned, ) -> <CryptCreateKeyWithIdResponse as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Eq for CryptCreateKeyWithIdResponse
impl Persistable for CryptCreateKeyWithIdResponse
impl StructuralPartialEq for CryptCreateKeyWithIdResponse
Auto Trait Implementations§
impl Freeze for CryptCreateKeyWithIdResponse
impl RefUnwindSafe for CryptCreateKeyWithIdResponse
impl Send for CryptCreateKeyWithIdResponse
impl Sync for CryptCreateKeyWithIdResponse
impl Unpin for CryptCreateKeyWithIdResponse
impl UnwindSafe for CryptCreateKeyWithIdResponse
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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