pub struct StackSourceOptions {
pub profile: Option<StackProfile>,
pub operation_boundaries: bool,
pub programs: BTreeMap<String, StackProgramSource>,
pub attestation: Option<String>,
pub deployment_short_id: Option<String>,
pub memo_program: Option<StackProgramSource>,
pub generator: Option<GeneratorV1>,
}Expand description
Options of generate_stack_source. Field names match the TypeScript
GenerateStackSourceOptions, so the shared vectors deserialize directly.
Fields§
§profile: Option<StackProfile>interim (the default) or full.
operation_boundaries: boolHosted runtime capability; kept opt-in until runtime deployment.
programs: BTreeMap<String, StackProgramSource>Program sources by alias.
attestation: Option<String>Full profile: the deployment revision’s attestation public key (base58).
deployment_short_id: Option<String>Full profile: the deployment’s short id; memos of other deployments are ignored.
memo_program: Option<StackProgramSource>Full profile: the SPL Memo program source. Defaults to
StackProgramSource::default_memo.
generator: Option<GeneratorV1>The identity recorded in the output. Defaults to
default_stack_generator.
Trait Implementations§
Source§impl Clone for StackSourceOptions
impl Clone for StackSourceOptions
Source§impl Debug for StackSourceOptions
impl Debug for StackSourceOptions
Source§impl Default for StackSourceOptions
impl Default for StackSourceOptions
Source§impl<'de> Deserialize<'de> for StackSourceOptionswhere
StackSourceOptions: Default,
impl<'de> Deserialize<'de> for StackSourceOptionswhere
StackSourceOptions: 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
impl Eq for StackSourceOptions
Source§impl PartialEq for StackSourceOptions
impl PartialEq for StackSourceOptions
Source§impl Serialize for StackSourceOptions
impl Serialize for StackSourceOptions
impl StructuralPartialEq for StackSourceOptions
Auto Trait Implementations§
impl Freeze for StackSourceOptions
impl RefUnwindSafe for StackSourceOptions
impl Send for StackSourceOptions
impl Sync for StackSourceOptions
impl Unpin for StackSourceOptions
impl UnsafeUnpin for StackSourceOptions
impl UnwindSafe for StackSourceOptions
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