pub struct SubscriptionCommand {
pub client_id: ClientId,
pub venue: Venue,
pub data_type: DataType,
pub action: Action,
pub command_id: UUID4,
pub ts_init: UnixNanos,
}
Fields§
§client_id: ClientId
§venue: Venue
§data_type: DataType
§action: Action
§command_id: UUID4
§ts_init: UnixNanos
Implementations§
Source§impl SubscriptionCommand
impl SubscriptionCommand
Sourcepub const fn new(
client_id: ClientId,
venue: Venue,
data_type: DataType,
action: Action,
command_id: UUID4,
ts_init: UnixNanos,
) -> Self
pub const fn new( client_id: ClientId, venue: Venue, data_type: DataType, action: Action, command_id: UUID4, ts_init: UnixNanos, ) -> Self
Creates a new SubscriptionCommand
instance.
Trait Implementations§
Source§impl Clone for SubscriptionCommand
impl Clone for SubscriptionCommand
Source§fn clone(&self) -> SubscriptionCommand
fn clone(&self) -> SubscriptionCommand
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SubscriptionCommand
impl RefUnwindSafe for SubscriptionCommand
impl Send for SubscriptionCommand
impl Sync for SubscriptionCommand
impl Unpin for SubscriptionCommand
impl UnwindSafe for SubscriptionCommand
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more