pub struct Shelf {
pub id: ShelfId,
pub dir: &'static Dir<'static>,
pub strip: Option<&'static str>,
}Expand description
One addressable shelf of embedded documents.
Fields§
§id: ShelfIdWhich shelf this is, as the catalog names it.
dir: &'static Dir<'static>The embedded directory.
strip: Option<&'static str>A kind prefix hidden from short names, e.g. SPEC-.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shelf
impl RefUnwindSafe for Shelf
impl Send for Shelf
impl Sync for Shelf
impl Unpin for Shelf
impl UnsafeUnpin for Shelf
impl UnwindSafe for Shelf
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