pub struct ExtractionId(/* private fields */);Expand description
Identifier of an extraction record (RFC-005).
Implementations§
Source§impl ExtractionId
impl ExtractionId
Sourcepub fn generate() -> ExtractionId
pub fn generate() -> ExtractionId
Generate a fresh identifier (UUIDv7, time-ordered).
Sourcepub fn from_string(s: impl Into<String>) -> ExtractionId
pub fn from_string(s: impl Into<String>) -> ExtractionId
Wrap an existing identifier string (e.g. read from the catalog).
Trait Implementations§
Source§impl Clone for ExtractionId
impl Clone for ExtractionId
Source§fn clone(&self) -> ExtractionId
fn clone(&self) -> ExtractionId
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 ExtractionId
impl Debug for ExtractionId
Source§impl<'de> Deserialize<'de> for ExtractionId
impl<'de> Deserialize<'de> for ExtractionId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtractionId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtractionId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExtractionId
impl Display for ExtractionId
impl Eq for ExtractionId
Source§impl Hash for ExtractionId
impl Hash for ExtractionId
Source§impl PartialEq for ExtractionId
impl PartialEq for ExtractionId
Source§fn eq(&self, other: &ExtractionId) -> bool
fn eq(&self, other: &ExtractionId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtractionId
impl Serialize for ExtractionId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExtractionId
Auto Trait Implementations§
impl Freeze for ExtractionId
impl RefUnwindSafe for ExtractionId
impl Send for ExtractionId
impl Sync for ExtractionId
impl Unpin for ExtractionId
impl UnsafeUnpin for ExtractionId
impl UnwindSafe for ExtractionId
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