pub struct ApprovalReq {
pub subject_id: String,
pub sn: u64,
pub gov_version: u64,
pub patch: Value,
pub signer: String,
}Fields§
§subject_id: StringThe signed event request.
sn: u64The sequence number of the event.
gov_version: u64The version of the governance contract.
patch: ValueThe patch to apply to the state.
signer: StringTrait Implementations§
Source§impl Clone for ApprovalReq
impl Clone for ApprovalReq
Source§fn clone(&self) -> ApprovalReq
fn clone(&self) -> ApprovalReq
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApprovalReq
impl Debug for ApprovalReq
Source§impl<'de> Deserialize<'de> for ApprovalReq
impl<'de> Deserialize<'de> for ApprovalReq
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
Auto Trait Implementations§
impl Freeze for ApprovalReq
impl RefUnwindSafe for ApprovalReq
impl Send for ApprovalReq
impl Sync for ApprovalReq
impl Unpin for ApprovalReq
impl UnsafeUnpin for ApprovalReq
impl UnwindSafe for ApprovalReq
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