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§
impl 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