pub struct CollectionDetails<'a> {
pub id: Option<&'a str>,
pub name: Option<&'a str>,
pub type: Option<&'a str>,
pub schema: Vec<FieldDeclaration<'a>>,
pub system: bool,
pub list_rule: Option<String>,
pub view_rule: Option<String>,
pub create_rule: Option<String>,
pub update_rule: Option<String>,
pub delete_rule: Option<String>,
pub indexes: Vec<String>,
}Fields§
§id: Option<&'a str>§name: Option<&'a str>§type: Option<&'a str>§schema: Vec<FieldDeclaration<'a>>§system: bool§list_rule: Option<String>§view_rule: Option<String>§create_rule: Option<String>§update_rule: Option<String>§delete_rule: Option<String>§indexes: Vec<String>Trait Implementations§
Source§impl<'a> Clone for CollectionDetails<'a>
impl<'a> Clone for CollectionDetails<'a>
Source§fn clone(&self) -> CollectionDetails<'a>
fn clone(&self) -> CollectionDetails<'a>
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<'a> Debug for CollectionDetails<'a>
impl<'a> Debug for CollectionDetails<'a>
Auto Trait Implementations§
impl<'a> Freeze for CollectionDetails<'a>
impl<'a> RefUnwindSafe for CollectionDetails<'a>
impl<'a> Send for CollectionDetails<'a>
impl<'a> Sync for CollectionDetails<'a>
impl<'a> Unpin for CollectionDetails<'a>
impl<'a> UnsafeUnpin for CollectionDetails<'a>
impl<'a> UnwindSafe for CollectionDetails<'a>
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