pub struct DeployNotification {
pub authority: String,
pub amount: u64,
pub mask: u64,
pub round_id: u64,
pub signer: String,
pub strategy: u64,
pub total_squares: u64,
pub ts: i64,
pub sig: String,
}Expand description
Notification for a deploy event, containing all relevant data for clients.
Fields§
The authority (miner) who deployed.
amount: u64The amount of SOL deployed (in lamports).
mask: u64The mask (bitmask of selected squares).
round_id: u64The round ID this deployment is for.
signer: StringThe signer of the transaction.
strategy: u64The strategy used for deployment.
total_squares: u64Total squares selected.
ts: i64Timestamp of the deployment.
sig: StringTransaction signature.
Trait Implementations§
Source§impl Clone for DeployNotification
impl Clone for DeployNotification
Source§fn clone(&self) -> DeployNotification
fn clone(&self) -> DeployNotification
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 DeployNotification
impl Debug for DeployNotification
Source§impl<'de> Deserialize<'de> for DeployNotification
impl<'de> Deserialize<'de> for DeployNotification
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 PartialEq for DeployNotification
impl PartialEq for DeployNotification
Source§impl Serialize for DeployNotification
impl Serialize for DeployNotification
impl StructuralPartialEq for DeployNotification
Auto Trait Implementations§
impl Freeze for DeployNotification
impl RefUnwindSafe for DeployNotification
impl Send for DeployNotification
impl Sync for DeployNotification
impl Unpin for DeployNotification
impl UnwindSafe for DeployNotification
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more