pub struct ApprovalTransition {
pub draft: String,
pub digest: String,
pub approved_by: Vec<String>,
pub executed_at_ms: u64,
}Expand description
Stored in the same durable operation as the target mutation and receipt.
Fields§
§draft: StringThe Lys draft that authorized this transition.
digest: StringSHA-256 of the exact approved words.
approved_by: Vec<String>Served approving people or lys; the accompanying draft identifies the issuer evidence.
executed_at_ms: u64Milliseconds since the epoch, supplied by the server’s operation clock.
Trait Implementations§
Source§impl Clone for ApprovalTransition
impl Clone for ApprovalTransition
Source§impl<'de> Deserialize<'de> for ApprovalTransition
impl<'de> Deserialize<'de> for ApprovalTransition
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
Source§impl From<ApprovalTransition> for Approval
impl From<ApprovalTransition> for Approval
Source§fn from(value: ApprovalTransition) -> Self
fn from(value: ApprovalTransition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApprovalTransition
impl RefUnwindSafe for ApprovalTransition
impl Send for ApprovalTransition
impl Sync for ApprovalTransition
impl Unpin for ApprovalTransition
impl UnsafeUnpin for ApprovalTransition
impl UnwindSafe for ApprovalTransition
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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