pub struct SchemaDiscoverySnapshot { /* private fields */ }Expand description
One atomically captured schema-set manifest and its selected fragments.
Implementations§
Source§impl SchemaDiscoverySnapshot
impl SchemaDiscoverySnapshot
Sourcepub const fn manifest(&self) -> &SchemaSetManifestDocument
pub const fn manifest(&self) -> &SchemaSetManifestDocument
Returns the exact parsed manifest captured with the selected fragments.
Sourcepub const fn documents(&self) -> &SchemaDocumentSet
pub const fn documents(&self) -> &SchemaDocumentSet
Returns the captured, fingerprinted document set.
Sourcepub const fn discovery_version(&self) -> &SchemaDiscoveryVersion
pub const fn discovery_version(&self) -> &SchemaDiscoveryVersion
Returns the frozen source-discovery algorithm version.
Sourcepub const fn evidence(&self) -> &SchemaDiscoveryEvidence
pub const fn evidence(&self) -> &SchemaDiscoveryEvidence
Returns lock-producer evidence containing no absolute host paths.
Sourcepub fn into_documents(self) -> SchemaDocumentSet
pub fn into_documents(self) -> SchemaDocumentSet
Consumes the snapshot and returns its manifest-associated document set.
Trait Implementations§
Source§impl Clone for SchemaDiscoverySnapshot
impl Clone for SchemaDiscoverySnapshot
Source§fn clone(&self) -> SchemaDiscoverySnapshot
fn clone(&self) -> SchemaDiscoverySnapshot
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 SchemaDiscoverySnapshot
impl Debug for SchemaDiscoverySnapshot
impl Eq for SchemaDiscoverySnapshot
Source§impl PartialEq for SchemaDiscoverySnapshot
impl PartialEq for SchemaDiscoverySnapshot
impl StructuralPartialEq for SchemaDiscoverySnapshot
Auto Trait Implementations§
impl Freeze for SchemaDiscoverySnapshot
impl RefUnwindSafe for SchemaDiscoverySnapshot
impl Send for SchemaDiscoverySnapshot
impl Sync for SchemaDiscoverySnapshot
impl Unpin for SchemaDiscoverySnapshot
impl UnsafeUnpin for SchemaDiscoverySnapshot
impl UnwindSafe for SchemaDiscoverySnapshot
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