pub struct DocumentId {
pub namespace_id: IdNamespace,
pub id: u32,
}
Fields§
§namespace_id: IdNamespace
§id: u32
Trait Implementations§
Source§impl Clone for DocumentId
impl Clone for DocumentId
Source§fn clone(&self) -> DocumentId
fn clone(&self) -> DocumentId
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 moreSource§impl Debug for DocumentId
impl Debug for DocumentId
Source§impl Display for DocumentId
impl Display for DocumentId
Source§impl Hash for DocumentId
impl Hash for DocumentId
Source§impl Ord for DocumentId
impl Ord for DocumentId
Source§fn cmp(&self, other: &DocumentId) -> Ordering
fn cmp(&self, other: &DocumentId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DocumentId
impl PartialEq for DocumentId
Source§impl PartialOrd for DocumentId
impl PartialOrd for DocumentId
impl Copy for DocumentId
impl Eq for DocumentId
impl StructuralPartialEq for DocumentId
Auto Trait Implementations§
impl Freeze for DocumentId
impl RefUnwindSafe for DocumentId
impl Send for DocumentId
impl Sync for DocumentId
impl Unpin for DocumentId
impl UnwindSafe for DocumentId
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)