pub struct AuthorStreamId(/* private fields */);Expand description
Derived identity of one causal author stream.
Implementations§
Source§impl AuthorStreamId
impl AuthorStreamId
pub fn from_digest(digest: ObjectHash) -> Self
pub fn from_bytes(bytes: [u8; 32]) -> Self
Trait Implementations§
Source§impl Clone for AuthorStreamId
impl Clone for AuthorStreamId
Source§fn clone(&self) -> AuthorStreamId
fn clone(&self) -> AuthorStreamId
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 AuthorStreamId
impl Debug for AuthorStreamId
Source§impl<'de> Deserialize<'de> for AuthorStreamId
impl<'de> Deserialize<'de> for AuthorStreamId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AuthorStreamId
impl Display for AuthorStreamId
Source§impl FromStr for AuthorStreamId
impl FromStr for AuthorStreamId
Source§impl Hash for AuthorStreamId
impl Hash for AuthorStreamId
Source§impl Ord for AuthorStreamId
impl Ord for AuthorStreamId
Source§fn cmp(&self, other: &AuthorStreamId) -> Ordering
fn cmp(&self, other: &AuthorStreamId) -> 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 AuthorStreamId
impl PartialEq for AuthorStreamId
Source§impl PartialOrd for AuthorStreamId
impl PartialOrd for AuthorStreamId
Source§impl Serialize for AuthorStreamId
impl Serialize for AuthorStreamId
impl Copy for AuthorStreamId
impl Eq for AuthorStreamId
impl StructuralPartialEq for AuthorStreamId
Auto Trait Implementations§
impl Freeze for AuthorStreamId
impl RefUnwindSafe for AuthorStreamId
impl Send for AuthorStreamId
impl Sync for AuthorStreamId
impl Unpin for AuthorStreamId
impl UnsafeUnpin for AuthorStreamId
impl UnwindSafe for AuthorStreamId
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.