pub struct Membership {
pub section_page: BTreeMap<String, Option<String>>,
pub note_about: BTreeMap<String, Option<String>>,
pub slug_owner: BTreeMap<String, String>,
pub slug_conflict: Vec<String>,
}Expand description
Who belongs where after a fold.
Fields§
§section_page: BTreeMap<String, Option<String>>Section → its page; None while unattached.
note_about: BTreeMap<String, Option<String>>Note → the page or section it is about; None while it has none.
slug_owner: BTreeMap<String, String>Slug → the page that holds it.
slug_conflict: Vec<String>Live pages that hold a slug another page owns, in id order.
Trait Implementations§
Source§impl Clone for Membership
impl Clone for Membership
Source§impl Debug for Membership
impl Debug for Membership
Source§impl Default for Membership
impl Default for Membership
impl Eq for Membership
Source§impl PartialEq for Membership
impl PartialEq for Membership
impl StructuralPartialEq for Membership
Auto Trait Implementations§
impl Forget for Membership
impl Freeze for Membershipwhere
*const LeafNode<String, Option<String>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Option<String>)>>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
impl Move for Membership
impl RefUnwindSafe for Membership
impl Send for Membership
impl Sync for Membership
impl Unpin for Membership
impl UnsafeUnpin for Membershipwhere
*const LeafNode<String, Option<String>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Option<String>)>>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Membershipwhere
BTreeMap<String, Option<String>>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
RawVecInner: UnwindSafe,
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