pub struct RuntimeOptions {
pub created_at: String,
pub env: BTreeMap<String, String>,
pub receipt_signature: RuntimeReceiptSignatureConfig,
pub effects: RuntimeEffectRegistry,
pub credential_delivery: CredentialDelivery,
}Fields§
§created_at: String§env: BTreeMap<String, String>§receipt_signature: RuntimeReceiptSignatureConfig§effects: RuntimeEffectRegistry§credential_delivery: CredentialDeliveryCredentials delivered to graph step invocations. Defaults to none; a
top-level skill run threads its own delivery here so credential-needing
graph-step tools (e.g. http tools with ${secret:NAME} headers) resolve.
Implementations§
Source§impl RuntimeOptions
impl RuntimeOptions
pub fn local_development() -> Self
pub fn from_process_env() -> Result<Self, RuntimeError>
pub fn safe_process_env() -> BTreeMap<String, String>
pub fn from_env(env: BTreeMap<String, String>) -> Result<Self, RuntimeError>
pub fn signature_policy(&self) -> RuntimeReceiptSignaturePolicy<'_>
Trait Implementations§
Source§impl Clone for RuntimeOptions
impl Clone for RuntimeOptions
Source§fn clone(&self) -> RuntimeOptions
fn clone(&self) -> RuntimeOptions
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for RuntimeOptions
impl !UnwindSafe for RuntimeOptions
impl Freeze for RuntimeOptions
impl Send for RuntimeOptions
impl Sync for RuntimeOptions
impl Unpin for RuntimeOptions
impl UnsafeUnpin for RuntimeOptions
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