pub struct TenantCreateCommand { /* private fields */ }Expand description
Semantic command for tenant creation.
Implementations§
Source§impl TenantCreateCommand
impl TenantCreateCommand
Sourcepub fn new(
sequence: u64,
registration: TenantRegistration,
timestamp: u64,
) -> Self
pub fn new( sequence: u64, registration: TenantRegistration, timestamp: u64, ) -> Self
Creates a new tenant-create command.
Sourcepub fn registration(&self) -> &TenantRegistration
pub fn registration(&self) -> &TenantRegistration
Returns the tenant registration.
Trait Implementations§
Source§impl Clone for TenantCreateCommand
impl Clone for TenantCreateCommand
Source§fn clone(&self) -> TenantCreateCommand
fn clone(&self) -> TenantCreateCommand
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 TenantCreateCommand
impl Debug for TenantCreateCommand
Source§impl PartialEq for TenantCreateCommand
impl PartialEq for TenantCreateCommand
impl Eq for TenantCreateCommand
impl StructuralPartialEq for TenantCreateCommand
Auto Trait Implementations§
impl Freeze for TenantCreateCommand
impl RefUnwindSafe for TenantCreateCommand
impl Send for TenantCreateCommand
impl Sync for TenantCreateCommand
impl Unpin for TenantCreateCommand
impl UnsafeUnpin for TenantCreateCommand
impl UnwindSafe for TenantCreateCommand
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