pub struct ProposalDraft {
pub frontier_id: String,
pub old_owner_actor_id: String,
pub old_owner_pubkey: String,
pub new_owner_actor_id: String,
pub new_owner_pubkey: String,
pub owner_epoch: u64,
pub previous_registry_entry_hash: String,
pub governance_policy_id: String,
pub reason: String,
pub created_at: String,
pub expires_at: String,
pub nonce: String,
}Expand description
Builder input for a proposal (everything except the derived id).
Fields§
§frontier_id: String§old_owner_actor_id: String§old_owner_pubkey: String§new_owner_actor_id: String§new_owner_pubkey: String§owner_epoch: u64§previous_registry_entry_hash: String§governance_policy_id: String§reason: String§created_at: String§expires_at: String§nonce: StringTrait Implementations§
Source§impl Clone for ProposalDraft
impl Clone for ProposalDraft
Source§fn clone(&self) -> ProposalDraft
fn clone(&self) -> ProposalDraft
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProposalDraft
impl RefUnwindSafe for ProposalDraft
impl Send for ProposalDraft
impl Sync for ProposalDraft
impl Unpin for ProposalDraft
impl UnsafeUnpin for ProposalDraft
impl UnwindSafe for ProposalDraft
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