pub struct LegacySourceLocator {
pub state_id: StateId,
pub attachment_id: StateAttachmentId,
pub blob_hash: ContentHash,
}Fields§
§state_id: StateId§attachment_id: StateAttachmentId§blob_hash: ContentHashImplementations§
Source§impl LegacySourceLocator
impl LegacySourceLocator
pub fn new( state_id: StateId, attachment_id: StateAttachmentId, blob_hash: ContentHash, ) -> Self
pub fn identity_bytes(&self) -> [u8; 96]
Trait Implementations§
Source§impl Clone for LegacySourceLocator
impl Clone for LegacySourceLocator
Source§fn clone(&self) -> LegacySourceLocator
fn clone(&self) -> LegacySourceLocator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LegacySourceLocator
impl Debug for LegacySourceLocator
Source§impl<'de> Deserialize<'de> for LegacySourceLocator
impl<'de> Deserialize<'de> for LegacySourceLocator
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
impl Eq for LegacySourceLocator
Source§impl Hash for LegacySourceLocator
impl Hash for LegacySourceLocator
Source§impl Ord for LegacySourceLocator
impl Ord for LegacySourceLocator
Source§fn cmp(&self, other: &LegacySourceLocator) -> Ordering
fn cmp(&self, other: &LegacySourceLocator) -> Ordering
1.21.0 (const: unstable) · 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 LegacySourceLocator
impl PartialEq for LegacySourceLocator
Source§impl PartialOrd for LegacySourceLocator
impl PartialOrd for LegacySourceLocator
Source§impl Serialize for LegacySourceLocator
impl Serialize for LegacySourceLocator
impl StructuralPartialEq for LegacySourceLocator
Auto Trait Implementations§
impl Freeze for LegacySourceLocator
impl RefUnwindSafe for LegacySourceLocator
impl Send for LegacySourceLocator
impl Sync for LegacySourceLocator
impl Unpin for LegacySourceLocator
impl UnsafeUnpin for LegacySourceLocator
impl UnwindSafe for LegacySourceLocator
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