Enum solana_sdk::budget_expr::Condition
source · Expand description
A data type representing a Witness
that the payment plan is waiting on.
Variants
Timestamp(DateTime<Utc>, Pubkey)
Wait for a Timestamp
Witness
at or after the given DateTime
.
Signature(Pubkey)
Wait for a Signature
Witness
from Pubkey
.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Condition
impl<'de> Deserialize<'de> for Condition
sourcefn 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
impl Eq for Condition
impl StructuralEq for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more