pub struct NamespaceIdDto(pub u64);
Expand description
Namespace id.
Tuple Fields§
§0: u64
Implementations§
Source§impl NamespaceIdDto
impl NamespaceIdDto
pub const LENGTH: usize = 8usize
Sourcepub fn get_namespace_id(&self) -> u64
pub fn get_namespace_id(&self) -> u64
Sourcepub fn serializer(&self) -> Vec<u8> ⓘ
pub fn serializer(&self) -> Vec<u8> ⓘ
Sourcepub fn from_binary(src: &[u8]) -> Self
pub fn from_binary(src: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for NamespaceIdDto
impl Clone for NamespaceIdDto
Source§fn clone(&self) -> NamespaceIdDto
fn clone(&self) -> NamespaceIdDto
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 NamespaceIdDto
impl Debug for NamespaceIdDto
impl Copy for NamespaceIdDto
Auto Trait Implementations§
impl Freeze for NamespaceIdDto
impl RefUnwindSafe for NamespaceIdDto
impl Send for NamespaceIdDto
impl Sync for NamespaceIdDto
impl Unpin for NamespaceIdDto
impl UnwindSafe for NamespaceIdDto
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