Struct sugar_cli::config::guard_data::SolPayment
source · pub struct SolPayment {
pub value: f64,
pub destination: Pubkey,
}Fields§
§value: f64§destination: PubkeyImplementations§
source§impl SolPayment
impl SolPayment
pub fn to_guard_format(&self) -> Result<SolPayment>
Trait Implementations§
source§impl Clone for SolPayment
impl Clone for SolPayment
source§fn clone(&self) -> SolPayment
fn clone(&self) -> SolPayment
Returns a copy 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 SolPayment
impl Debug for SolPayment
source§impl Default for SolPayment
impl Default for SolPayment
source§fn default() -> SolPayment
fn default() -> SolPayment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SolPayment
impl<'de> Deserialize<'de> for SolPayment
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