pub enum GateSubject {
Area(Address),
Room(Address),
Scope(String),
Host(String),
None,
}Expand description
What one call is about, in the terms its own grammar names it.
The tool owning the call’s grammar is the only place that can read it off the arguments. A sixth kind is a change here, not a string that reaches a gate.
Variants§
Area(Address)
A city position a call names as its target.
Room(Address)
The room a call names when it works in one.
Scope(String)
The scope a governance call would rewrite.
Host(String)
The host a call’s own bytes would leave for.
None
This call names no subject; the tool’s grammar has none for it. A door judges such a call against this machine rather than skipping it, and refuses it when its effect needs a subject.
Trait Implementations§
Source§impl Clone for GateSubject
impl Clone for GateSubject
Source§impl Debug for GateSubject
impl Debug for GateSubject
impl Eq for GateSubject
Source§impl PartialEq for GateSubject
impl PartialEq for GateSubject
impl StructuralPartialEq for GateSubject
Auto Trait Implementations§
impl Freeze for GateSubject
impl RefUnwindSafe for GateSubject
impl Send for GateSubject
impl Sync for GateSubject
impl Unpin for GateSubject
impl UnsafeUnpin for GateSubject
impl UnwindSafe for GateSubject
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