pub struct DirectoryCreateSymlinkRequest {
pub name: String,
pub target: Vec<u8>,
pub connection: Option<ServerEnd<Symlink, Channel>>,
}
Fields§
§name: String
§target: Vec<u8>
§connection: Option<ServerEnd<Symlink, Channel>>
Trait Implementations§
Source§impl CompatFrom<DirectoryCreateSymlinkRequest> for DirectoryCreateSymlinkRequest
impl CompatFrom<DirectoryCreateSymlinkRequest> for DirectoryCreateSymlinkRequest
Source§fn compat_from(value: DirectoryCreateSymlinkRequest) -> Self
fn compat_from(value: DirectoryCreateSymlinkRequest) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<DirectoryCreateSymlinkRequest> for DirectoryCreateSymlinkRequest
impl CompatFrom<DirectoryCreateSymlinkRequest> for DirectoryCreateSymlinkRequest
Source§fn compat_from(value: DirectoryCreateSymlinkRequest) -> Self
fn compat_from(value: DirectoryCreateSymlinkRequest) -> Self
Converts
value
into a value of this type.Source§impl Encodable for DirectoryCreateSymlinkRequest
impl Encodable for DirectoryCreateSymlinkRequest
Source§type Encoded = WireDirectoryCreateSymlinkRequest<'static>
type Encoded = WireDirectoryCreateSymlinkRequest<'static>
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl EncodableOption for DirectoryCreateSymlinkRequest
impl EncodableOption for DirectoryCreateSymlinkRequest
Source§type EncodedOption = WireBox<'static, WireDirectoryCreateSymlinkRequest<'static>>
type EncodedOption = WireBox<'static, WireDirectoryCreateSymlinkRequest<'static>>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirectoryCreateSymlinkRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for DirectoryCreateSymlinkRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for DirectoryCreateSymlinkRequestwhere
___E: Encoder + ?Sized,
DirectoryCreateSymlinkRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for DirectoryCreateSymlinkRequestwhere
___E: Encoder + ?Sized,
DirectoryCreateSymlinkRequest: Encode<___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<WireDirectoryCreateSymlinkRequest<'de>> for DirectoryCreateSymlinkRequest
impl<'de> FromWire<WireDirectoryCreateSymlinkRequest<'de>> for DirectoryCreateSymlinkRequest
Source§fn from_wire(wire: WireDirectoryCreateSymlinkRequest<'de>) -> Self
fn from_wire(wire: WireDirectoryCreateSymlinkRequest<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for DirectoryCreateSymlinkRequest
impl PartialEq for DirectoryCreateSymlinkRequest
Source§fn eq(&self, other: &DirectoryCreateSymlinkRequest) -> bool
fn eq(&self, other: &DirectoryCreateSymlinkRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DirectoryCreateSymlinkRequest
Auto Trait Implementations§
impl Freeze for DirectoryCreateSymlinkRequest
impl RefUnwindSafe for DirectoryCreateSymlinkRequest
impl Send for DirectoryCreateSymlinkRequest
impl Sync for DirectoryCreateSymlinkRequest
impl Unpin for DirectoryCreateSymlinkRequest
impl UnwindSafe for DirectoryCreateSymlinkRequest
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]