pub struct CombinedId { /* private fields */ }Expand description
A combination of an Entities Id
with one of it’s Operation's Id.
This is useful, to uniquely identify a property of an
Entity.
Implementations§
Source§impl CombinedId
impl CombinedId
Source§impl CombinedId
impl CombinedId
Sourcepub fn shorten(self) -> CombinedIdPrefix
pub fn shorten(self) -> CombinedIdPrefix
Shorten an CombinedId to the required length, so that it stays
unique, but is still short enough for human consumption.
Trait Implementations§
Source§impl Clone for CombinedId
impl Clone for CombinedId
Source§fn clone(&self) -> CombinedId
fn clone(&self) -> CombinedId
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 CombinedId
impl Debug for CombinedId
impl Copy for CombinedId
Auto Trait Implementations§
impl Freeze for CombinedId
impl RefUnwindSafe for CombinedId
impl Send for CombinedId
impl Sync for CombinedId
impl Unpin for CombinedId
impl UnwindSafe for CombinedId
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