pub struct OpenCapsuleOptions {
pub kind: CapsuleType,
pub intent: String,
pub scope_ids: ScopeIds,
pub id: Option<Id>,
}Expand description
Options for KindlingService::open_capsule.
Mirrors OpenCapsuleOptions in packages/kindling-core/src/capsule/types.ts.
Fields§
§kind: CapsuleTypeCapsule type (type in the TS option object).
intent: StringHuman-readable intent/purpose.
scope_ids: ScopeIdsScope dimensions for isolation.
id: Option<Id>Optional pre-generated id; defaults to a fresh UUID.
Trait Implementations§
Source§impl Clone for OpenCapsuleOptions
impl Clone for OpenCapsuleOptions
Source§fn clone(&self) -> OpenCapsuleOptions
fn clone(&self) -> OpenCapsuleOptions
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 Freeze for OpenCapsuleOptions
impl RefUnwindSafe for OpenCapsuleOptions
impl Send for OpenCapsuleOptions
impl Sync for OpenCapsuleOptions
impl Unpin for OpenCapsuleOptions
impl UnsafeUnpin for OpenCapsuleOptions
impl UnwindSafe for OpenCapsuleOptions
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