#[non_exhaustive]pub struct TransferMetadataOptions {
pub uid: Uid,
pub gid: Gid,
pub mode: Mode,
/* private fields */
}Expand description
Transfer metadata options for the instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uid: UidOptional. The UID preservation behavior.
gid: GidOptional. The GID preservation behavior.
mode: ModeOptional. The mode preservation behavior.
Implementations§
Trait Implementations§
Source§impl Clone for TransferMetadataOptions
impl Clone for TransferMetadataOptions
Source§fn clone(&self) -> TransferMetadataOptions
fn clone(&self) -> TransferMetadataOptions
Returns a duplicate 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 moreSource§impl Debug for TransferMetadataOptions
impl Debug for TransferMetadataOptions
Source§impl Default for TransferMetadataOptions
impl Default for TransferMetadataOptions
Source§fn default() -> TransferMetadataOptions
fn default() -> TransferMetadataOptions
Returns the “default value” for a type. Read more
Source§impl Message for TransferMetadataOptions
impl Message for TransferMetadataOptions
Source§impl PartialEq for TransferMetadataOptions
impl PartialEq for TransferMetadataOptions
impl StructuralPartialEq for TransferMetadataOptions
Auto Trait Implementations§
impl Freeze for TransferMetadataOptions
impl RefUnwindSafe for TransferMetadataOptions
impl Send for TransferMetadataOptions
impl Sync for TransferMetadataOptions
impl Unpin for TransferMetadataOptions
impl UnwindSafe for TransferMetadataOptions
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