Struct solana_budget_program::budget_expr::AccountConstraints [−][src]
The account constraints a Condition would wait on. Note: ideally this would be function that accepts an Account and returns a bool, but we don’t have a way to pass functions over the wire. To simulate higher order programming, create your own program that includes an instruction that sets account data to a boolean. Pass that account key and program_id here.
Fields
key: Pubkey
The account holder.
program_id: Pubkey
The program id that must own the account at key
.
data_hash: Hash
The hash of the data in the account at key
.
Trait Implementations
impl Clone for AccountConstraints
[src][+]
impl Debug for AccountConstraints
[src][+]
impl<'de> Deserialize<'de> for AccountConstraints
[src][+]
impl Eq for AccountConstraints
[src]
impl PartialEq<AccountConstraints> for AccountConstraints
[src][+]
impl Serialize for AccountConstraints
[src][+]
impl StructuralEq for AccountConstraints
[src]
impl StructuralPartialEq for AccountConstraints
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccountConstraints
impl Send for AccountConstraints
impl Sync for AccountConstraints
impl Unpin for AccountConstraints
impl UnwindSafe for AccountConstraints
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,