pub struct AutonomyChanged {
pub scope: Scope,
pub autonomy: Autonomy,
}Expand description
autonomy_changed: who answers the Approval Inbox for a scope from
now on.
Both values are the words the ledger has always held: the scope as
Scope spells it, the appointment as autonomy_word does. This
struct is the only way in and out of the line, so no writer formats
it and no reader splits it by hand.
Fields§
§scope: ScopeWhat the appointment applies to. A line written before the key
existed carries no scope and appointed the answerer for the
whole city, which is what [city_wide] reads it as.
autonomy: AutonomyTrait Implementations§
Source§impl Clone for AutonomyChanged
impl Clone for AutonomyChanged
Source§impl Debug for AutonomyChanged
impl Debug for AutonomyChanged
Source§impl<'de> Deserialize<'de> for AutonomyChanged
impl<'de> Deserialize<'de> for AutonomyChanged
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 AutonomyChanged
Source§impl PartialEq for AutonomyChanged
impl PartialEq for AutonomyChanged
Source§impl Serialize for AutonomyChanged
impl Serialize for AutonomyChanged
impl StructuralPartialEq for AutonomyChanged
Auto Trait Implementations§
impl Freeze for AutonomyChanged
impl RefUnwindSafe for AutonomyChanged
impl Send for AutonomyChanged
impl Sync for AutonomyChanged
impl Unpin for AutonomyChanged
impl UnsafeUnpin for AutonomyChanged
impl UnwindSafe for AutonomyChanged
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