pub struct AnchorConfig {
pub idl: Option<PathBuf>,
}Expand description
[anchor] — optional Anchor IDL integration.
Fields§
§idl: Option<PathBuf>Path to an Anchor IDL JSON file. When set (and the anchor feature is
enabled), the program’s address is labelled with its IDL name.
Trait Implementations§
Source§impl Clone for AnchorConfig
impl Clone for AnchorConfig
Source§fn clone(&self) -> AnchorConfig
fn clone(&self) -> AnchorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnchorConfig
impl Debug for AnchorConfig
Source§impl Default for AnchorConfig
impl Default for AnchorConfig
Source§fn default() -> AnchorConfig
fn default() -> AnchorConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnchorConfigwhere
AnchorConfig: Default,
impl<'de> Deserialize<'de> for AnchorConfigwhere
AnchorConfig: Default,
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 AnchorConfig
impl PartialEq for AnchorConfig
Source§fn eq(&self, other: &AnchorConfig) -> bool
fn eq(&self, other: &AnchorConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnchorConfig
impl Serialize for AnchorConfig
impl StructuralPartialEq for AnchorConfig
Auto Trait Implementations§
impl Freeze for AnchorConfig
impl RefUnwindSafe for AnchorConfig
impl Send for AnchorConfig
impl Sync for AnchorConfig
impl Unpin for AnchorConfig
impl UnsafeUnpin for AnchorConfig
impl UnwindSafe for AnchorConfig
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