pub struct SchemaSetManifestDocument { /* private fields */ }Expand description
A validated schema-set manifest retaining its exact source presentation.
Implementations§
Source§impl SchemaSetManifestDocument
impl SchemaSetManifestDocument
Sourcepub const fn fingerprint(&self) -> &DocumentFingerprint
pub const fn fingerprint(&self) -> &DocumentFingerprint
Returns the exact-source document fingerprint.
Sourcepub const fn root(&self) -> &YamlMapping
pub const fn root(&self) -> &YamlMapping
Returns the retained lossless YAML root.
Sourcepub fn comments(&self) -> &[SchemaComment]
pub fn comments(&self) -> &[SchemaComment]
Returns retained comments in source order.
Sourcepub const fn manifest(&self) -> &SchemaSetManifest
pub const fn manifest(&self) -> &SchemaSetManifest
Returns the validated manifest fields.
Trait Implementations§
Source§impl Clone for SchemaSetManifestDocument
impl Clone for SchemaSetManifestDocument
Source§fn clone(&self) -> SchemaSetManifestDocument
fn clone(&self) -> SchemaSetManifestDocument
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 SchemaSetManifestDocument
impl Debug for SchemaSetManifestDocument
impl Eq for SchemaSetManifestDocument
impl StructuralPartialEq for SchemaSetManifestDocument
Auto Trait Implementations§
impl Freeze for SchemaSetManifestDocument
impl RefUnwindSafe for SchemaSetManifestDocument
impl Send for SchemaSetManifestDocument
impl Sync for SchemaSetManifestDocument
impl Unpin for SchemaSetManifestDocument
impl UnsafeUnpin for SchemaSetManifestDocument
impl UnwindSafe for SchemaSetManifestDocument
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