pub struct BasicCollectionWithOnlyBrokenParentId;
Trait Implementations§
§impl Collection for BasicCollectionWithOnlyBrokenParentId
impl Collection for BasicCollectionWithOnlyBrokenParentId
§type PrimaryKey = u64
type PrimaryKey = u64
The unique id type. Each document stored in a collection will be
uniquely identified by this type. Read more
§fn collection_name() -> CollectionName
fn collection_name() -> CollectionName
The unique name of this collection. Each collection must be uniquely
named within the
Schema
it is registered
within.§fn define_views(schema: &mut Schematic) -> Result<(), Error>
fn define_views(schema: &mut Schematic) -> Result<(), Error>
Defines all
View
s in this collection in schema
.§fn encryption_key() -> Option<KeyId>
fn encryption_key() -> Option<KeyId>
If a
KeyId
is returned, this collection will be stored encrypted
at-rest using the key specified.Auto Trait Implementations§
impl RefUnwindSafe for BasicCollectionWithOnlyBrokenParentId
impl Send for BasicCollectionWithOnlyBrokenParentId
impl Sync for BasicCollectionWithOnlyBrokenParentId
impl Unpin for BasicCollectionWithOnlyBrokenParentId
impl UnwindSafe for BasicCollectionWithOnlyBrokenParentId
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Schema for Twhere
T: Collection + 'static,
impl<T> Schema for Twhere T: Collection + 'static,
§fn schema_name() -> SchemaName
fn schema_name() -> SchemaName
Returns the unique
SchemaName
for this schema.