pub enum Shelf {
Library,
Building(Address),
}Expand description
Where a Command::PutShelved writes.
Two places and no third, for the reason
GovernedDocument is a closed set: both
of them sit under the city’s reserved subtree, which no write
domain reaches, so a frame that named its own path would be a way
to write anywhere inside the one place a resident may not edit. The
city turns a shelf and a name into a path; the sender never spells
one.
Variants§
Library
The city’s own library, which any building may admit from.
Building(Address)
One building’s private shelf, which only that building keeps.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shelf
impl<'de> Deserialize<'de> for Shelf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Shelf
impl StructuralPartialEq for Shelf
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