pub struct Listing {
pub of_type: Option<TypeName>,
pub conditions: Vec<(FieldName, Value)>,
pub order_by: Option<FieldName>,
pub on: Option<Day>,
}Expand description
What Library::list lists: the things of a space, or of a type, that meet every
condition, ordered by name or by a field.
Fields§
§of_type: Option<TypeName>Only the entities of this type.
conditions: Vec<(FieldName, Value)>Only the entities whose field shows the value, for each of these: references by the entity they refer to, or one merged with it, and names by their full text.
order_by: Option<FieldName>The field to order the entities by, by the first value it shows of each: numbers by size, dates by when they start, text and names alphabetically without regard to case, references by the names of what they refer to, no before yes. Entities without such a value come last, and entities with the same value by name.
on: Option<Day>The day whose values the conditions and the order look at, and whose names the entities go by, if not today.
Trait Implementations§
impl Eq for Listing
impl StructuralPartialEq for Listing
Auto Trait Implementations§
impl Forget for Listing
impl Freeze for Listing
impl Move for Listing
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnsafeUnpin for Listing
impl UnwindSafe for Listing
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.