Struct bonsaidb::files::FilesSchema
source · pub struct FilesSchema<Config = BonsaiFiles>(_)
where
Config: FileConfig;
Expand description
A schema implementation that allows using any FileConfig
as a Schema
without manually implementing Schema
.
Trait Implementations§
source§impl<Config> Debug for FilesSchema<Config>where
Config: FileConfig,
impl<Config> Debug for FilesSchema<Config>where Config: FileConfig,
source§impl<Config> Default for FilesSchema<Config>where
Config: FileConfig,
impl<Config> Default for FilesSchema<Config>where Config: FileConfig,
source§fn default() -> FilesSchema<Config>
fn default() -> FilesSchema<Config>
Returns the “default value” for a type. Read more
source§impl<Config> Schema for FilesSchema<Config>where
Config: FileConfig,
impl<Config> Schema for FilesSchema<Config>where Config: FileConfig,
source§fn schema_name() -> SchemaName
fn schema_name() -> SchemaName
Returns the unique
SchemaName
for this schema.Auto Trait Implementations§
impl<Config> RefUnwindSafe for FilesSchema<Config>where Config: RefUnwindSafe,
impl<Config> Send for FilesSchema<Config>
impl<Config> Sync for FilesSchema<Config>
impl<Config> Unpin for FilesSchema<Config>
impl<Config> UnwindSafe for FilesSchema<Config>where Config: UnwindSafe,
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