pub struct DirectoryRenameRequest {
pub src: String,
pub dst_parent_token: Handle,
pub dst: String,
}
Fields§
§src: String
§dst_parent_token: Handle
§dst: String
Trait Implementations§
Source§impl Debug for DirectoryRenameRequest
impl Debug for DirectoryRenameRequest
Source§impl Encodable for DirectoryRenameRequest
impl Encodable for DirectoryRenameRequest
Source§type Encoded = WireDirectoryRenameRequest
type Encoded = WireDirectoryRenameRequest
The wire type for the value.
§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§impl EncodableOption for Box<DirectoryRenameRequest>
impl EncodableOption for Box<DirectoryRenameRequest>
Source§type EncodedOption = WireBox<WireDirectoryRenameRequest>
type EncodedOption = WireBox<WireDirectoryRenameRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirectoryRenameRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for DirectoryRenameRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirectoryRenameRequest>where
___E: Encoder + ?Sized,
DirectoryRenameRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DirectoryRenameRequest>where
___E: Encoder + ?Sized,
DirectoryRenameRequest: 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<WireDirectoryRenameRequest> for DirectoryRenameRequest
impl TakeFrom<WireDirectoryRenameRequest> for DirectoryRenameRequest
Source§fn take_from(from: &WireDirectoryRenameRequest) -> Self
fn take_from(from: &WireDirectoryRenameRequest) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§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 moreAuto Trait Implementations§
impl Freeze for DirectoryRenameRequest
impl RefUnwindSafe for DirectoryRenameRequest
impl Send for DirectoryRenameRequest
impl Sync for DirectoryRenameRequest
impl Unpin for DirectoryRenameRequest
impl UnwindSafe for DirectoryRenameRequest
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