pub struct ActivityGovernorAcquireWakeLeaseWithTokenRequest {
pub name: String,
pub server_token: EventPair,
}Fields§
§name: String§server_token: EventPairTrait Implementations§
Source§impl<___E> Encode<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>, ___E> for ActivityGovernorAcquireWakeLeaseWithTokenRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>, ___E> for ActivityGovernorAcquireWakeLeaseWithTokenRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> EncodeOption<Box<'static, ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>>, ___E> for ActivityGovernorAcquireWakeLeaseWithTokenRequestwhere
___E: Encoder + ?Sized,
ActivityGovernorAcquireWakeLeaseWithTokenRequest: Encode<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>, ___E>,
impl<___E> EncodeOption<Box<'static, ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>>, ___E> for ActivityGovernorAcquireWakeLeaseWithTokenRequestwhere
___E: Encoder + ?Sized,
ActivityGovernorAcquireWakeLeaseWithTokenRequest: Encode<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>, ___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, ActivityGovernorAcquireWakeLeaseWithTokenRequest<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'de>> for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl<'de> FromWire<ActivityGovernorAcquireWakeLeaseWithTokenRequest<'de>> for ActivityGovernorAcquireWakeLeaseWithTokenRequest
Source§fn from_wire(
wire: ActivityGovernorAcquireWakeLeaseWithTokenRequest<'de>,
) -> Self
fn from_wire( wire: ActivityGovernorAcquireWakeLeaseWithTokenRequest<'de>, ) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl PartialEq for ActivityGovernorAcquireWakeLeaseWithTokenRequest
Source§fn eq(&self, other: &ActivityGovernorAcquireWakeLeaseWithTokenRequest) -> bool
fn eq(&self, other: &ActivityGovernorAcquireWakeLeaseWithTokenRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActivityGovernorAcquireWakeLeaseWithTokenRequest
Auto Trait Implementations§
impl Freeze for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl RefUnwindSafe for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl Send for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl Sync for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl Unpin for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl UnsafeUnpin for ActivityGovernorAcquireWakeLeaseWithTokenRequest
impl UnwindSafe for ActivityGovernorAcquireWakeLeaseWithTokenRequest
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
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value 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]