#[repr(C)]pub struct DirectoryGetTokenResponse {
pub s: i32,
pub token: Option<Handle>,
}
Fields§
§s: i32
§token: Option<Handle>
Trait Implementations§
Source§impl Debug for DirectoryGetTokenResponse
impl Debug for DirectoryGetTokenResponse
Source§impl Encodable for DirectoryGetTokenResponse
impl Encodable for DirectoryGetTokenResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§type Encoded = WireDirectoryGetTokenResponse
type Encoded = WireDirectoryGetTokenResponse
The wire type for the value.
Source§impl EncodableOption for Box<DirectoryGetTokenResponse>
impl EncodableOption for Box<DirectoryGetTokenResponse>
Source§type EncodedOption = WireBox<WireDirectoryGetTokenResponse>
type EncodedOption = WireBox<WireDirectoryGetTokenResponse>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirectoryGetTokenResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DirectoryGetTokenResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirectoryGetTokenResponse>where
___E: Encoder + ?Sized,
DirectoryGetTokenResponse: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DirectoryGetTokenResponse>where
___E: Encoder + ?Sized,
DirectoryGetTokenResponse: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireDirectoryGetTokenResponse> for DirectoryGetTokenResponse
impl TakeFrom<WireDirectoryGetTokenResponse> for DirectoryGetTokenResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§fn take_from(from: &WireDirectoryGetTokenResponse) -> Self
fn take_from(from: &WireDirectoryGetTokenResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for DirectoryGetTokenResponse
impl RefUnwindSafe for DirectoryGetTokenResponse
impl Send for DirectoryGetTokenResponse
impl Sync for DirectoryGetTokenResponse
impl Unpin for DirectoryGetTokenResponse
impl UnwindSafe for DirectoryGetTokenResponse
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