pub struct CollectionManifestMetadata { /* private fields */ }Implementations§
Source§impl CollectionManifestMetadata
impl CollectionManifestMetadata
pub fn new(schema_version: u32) -> Self
pub fn version(&self) -> u32
pub fn schema_version(&self) -> u32
pub fn with_published_schema( self, published_schema: CollectionPublishedSchema, ) -> Self
pub fn published_schema(&self) -> Option<&CollectionPublishedSchema>
Trait Implementations§
Source§impl Clone for CollectionManifestMetadata
impl Clone for CollectionManifestMetadata
Source§fn clone(&self) -> CollectionManifestMetadata
fn clone(&self) -> CollectionManifestMetadata
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 CollectionManifestMetadata
impl Debug for CollectionManifestMetadata
Source§impl PartialEq for CollectionManifestMetadata
impl PartialEq for CollectionManifestMetadata
Source§fn eq(&self, other: &CollectionManifestMetadata) -> bool
fn eq(&self, other: &CollectionManifestMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionManifestMetadata
Auto Trait Implementations§
impl Freeze for CollectionManifestMetadata
impl RefUnwindSafe for CollectionManifestMetadata
impl Send for CollectionManifestMetadata
impl Sync for CollectionManifestMetadata
impl Unpin for CollectionManifestMetadata
impl UnsafeUnpin for CollectionManifestMetadata
impl UnwindSafe for CollectionManifestMetadata
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