Struct shank_gov_idl::ParseIdlConfig
source · pub struct ParseIdlConfig {
pub program_version: String,
pub program_name: String,
pub detect_custom_struct: DetectCustomTypeConfig,
pub require_program_address: bool,
pub program_address_override: Option<String>,
}
Fields§
§program_version: String
§program_name: String
§detect_custom_struct: DetectCustomTypeConfig
§require_program_address: bool
§program_address_override: Option<String>
Implementations§
source§impl ParseIdlConfig
impl ParseIdlConfig
pub fn optional_program_address() -> Self
Trait Implementations§
source§impl Debug for ParseIdlConfig
impl Debug for ParseIdlConfig
Auto Trait Implementations§
impl RefUnwindSafe for ParseIdlConfig
impl Send for ParseIdlConfig
impl Sync for ParseIdlConfig
impl Unpin for ParseIdlConfig
impl UnwindSafe for ParseIdlConfig
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