pub struct Collection {
pub container: LazyContainer,
pub title: Option<String>,
pub notes: Option<Box<[String]>>,
pub include: Option<Box<[String]>>,
}Fields§
§container: LazyContainer§title: Option<String>§notes: Option<Box<[String]>>§include: Option<Box<[String]>>Implementations§
Source§impl Collection
impl Collection
pub fn new( table: &Table, container: LazyContainer, moc: &str, idx: u8, logger: impl Logger, ) -> Self
pub fn pull(&mut self, logger: impl Logger) -> Table
pub fn store_lazy(&self, logger: impl Logger)
pub fn load_lazy(container: LazyContainer) -> Self
pub fn clear_cache(&mut self)
pub fn fill_cache(&mut self, logger: impl Logger)
pub fn notes(&mut self, logger: impl Logger) -> &mut Box<[String]>
pub fn title(&mut self, logger: impl Logger) -> &mut String
pub fn include(&mut self, logger: impl Logger) -> &mut Box<[String]>
Auto Trait Implementations§
impl Freeze for Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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