pub struct CollectionPublishedSchema { /* private fields */ }Implementations§
Source§impl CollectionPublishedSchema
impl CollectionPublishedSchema
pub fn new() -> Self
pub fn with_item_format(self, item_format: impl Into<String>) -> Self
pub fn with_projection_format( self, projection_format: impl Into<String>, ) -> Self
pub fn with_schema_ref(self, schema_ref: Cid) -> Self
pub fn item_format(&self) -> Option<&str>
pub fn projection_format(&self) -> Option<&str>
pub fn schema_ref(&self) -> Option<&Cid>
Trait Implementations§
Source§impl Clone for CollectionPublishedSchema
impl Clone for CollectionPublishedSchema
Source§fn clone(&self) -> CollectionPublishedSchema
fn clone(&self) -> CollectionPublishedSchema
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 CollectionPublishedSchema
impl Debug for CollectionPublishedSchema
Source§impl Default for CollectionPublishedSchema
impl Default for CollectionPublishedSchema
Source§fn default() -> CollectionPublishedSchema
fn default() -> CollectionPublishedSchema
Returns the “default value” for a type. Read more
Source§impl PartialEq for CollectionPublishedSchema
impl PartialEq for CollectionPublishedSchema
Source§fn eq(&self, other: &CollectionPublishedSchema) -> bool
fn eq(&self, other: &CollectionPublishedSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionPublishedSchema
Auto Trait Implementations§
impl Freeze for CollectionPublishedSchema
impl RefUnwindSafe for CollectionPublishedSchema
impl Send for CollectionPublishedSchema
impl Sync for CollectionPublishedSchema
impl Unpin for CollectionPublishedSchema
impl UnsafeUnpin for CollectionPublishedSchema
impl UnwindSafe for CollectionPublishedSchema
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