pub struct SchemaPatternDiscoverySnapshot { /* private fields */ }Expand description
An immutable set of captured schema source bytes parsed after revalidation.
Implementations§
Source§impl SchemaPatternDiscoverySnapshot
impl SchemaPatternDiscoverySnapshot
Sourcepub const fn documents(&self) -> &SchemaDocumentSet
pub const fn documents(&self) -> &SchemaDocumentSet
Returns the captured, fingerprinted document set.
Sourcepub fn into_documents(self) -> SchemaDocumentSet
pub fn into_documents(self) -> SchemaDocumentSet
Consumes the snapshot and returns its captured document set.
Trait Implementations§
Source§impl Clone for SchemaPatternDiscoverySnapshot
impl Clone for SchemaPatternDiscoverySnapshot
Source§fn clone(&self) -> SchemaPatternDiscoverySnapshot
fn clone(&self) -> SchemaPatternDiscoverySnapshot
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 moreimpl Eq for SchemaPatternDiscoverySnapshot
impl StructuralPartialEq for SchemaPatternDiscoverySnapshot
Auto Trait Implementations§
impl Freeze for SchemaPatternDiscoverySnapshot
impl RefUnwindSafe for SchemaPatternDiscoverySnapshot
impl Send for SchemaPatternDiscoverySnapshot
impl Sync for SchemaPatternDiscoverySnapshot
impl Unpin for SchemaPatternDiscoverySnapshot
impl UnsafeUnpin for SchemaPatternDiscoverySnapshot
impl UnwindSafe for SchemaPatternDiscoverySnapshot
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