pub struct Machine {
pub id: String,
pub label: String,
}Expand description
This machine (state/machine.toml): the commit author and the
Surjection-Machine trailer. Created on the first mutation.
Fields§
§id: StringULID; never changes.
label: StringHuman label, cleaned so it fits a git signature and a trailer.
Implementations§
Trait Implementations§
impl Eq for Machine
impl StructuralPartialEq for Machine
Auto Trait Implementations§
impl Forget for Machine
impl Freeze for Machine
impl Move for Machine
impl RefUnwindSafe for Machine
impl Send for Machinewhere
RawVecInner: Send,
impl Sync for Machinewhere
RawVecInner: Sync,
impl Unpin for Machine
impl UnsafeUnpin for Machine
impl UnwindSafe for Machinewhere
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
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.