pub struct ProgramCallConfigV2 {
pub allowed_solana_program_calls: AllowedSolanaProgramCalls,
}Expand description
ProgramCallConfigV2 : Program call configuration
Fields§
§allowed_solana_program_calls: AllowedSolanaProgramCallsWhether Solana program calls are allowed
Implementations§
Source§impl ProgramCallConfigV2
impl ProgramCallConfigV2
Sourcepub fn new(
allowed_solana_program_calls: AllowedSolanaProgramCalls,
) -> ProgramCallConfigV2
pub fn new( allowed_solana_program_calls: AllowedSolanaProgramCalls, ) -> ProgramCallConfigV2
Program call configuration
Trait Implementations§
Source§impl Clone for ProgramCallConfigV2
impl Clone for ProgramCallConfigV2
Source§fn clone(&self) -> ProgramCallConfigV2
fn clone(&self) -> ProgramCallConfigV2
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 ProgramCallConfigV2
impl Debug for ProgramCallConfigV2
Source§impl Default for ProgramCallConfigV2
impl Default for ProgramCallConfigV2
Source§fn default() -> ProgramCallConfigV2
fn default() -> ProgramCallConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgramCallConfigV2
impl<'de> Deserialize<'de> for ProgramCallConfigV2
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 ProgramCallConfigV2
impl PartialEq for ProgramCallConfigV2
Source§impl Serialize for ProgramCallConfigV2
impl Serialize for ProgramCallConfigV2
impl StructuralPartialEq for ProgramCallConfigV2
Auto Trait Implementations§
impl Freeze for ProgramCallConfigV2
impl RefUnwindSafe for ProgramCallConfigV2
impl Send for ProgramCallConfigV2
impl Sync for ProgramCallConfigV2
impl Unpin for ProgramCallConfigV2
impl UnwindSafe for ProgramCallConfigV2
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