pub struct ResumableExportOptions {
pub include_subagent: bool,
pub include_usage_ledger: bool,
/* private fields */
}Expand description
Export options for context restoration state.
Fields§
§include_subagent: boolInclude subagent history.
include_usage_ledger: boolInclude the usage ledger.
Implementations§
Source§impl ResumableExportOptions
impl ResumableExportOptions
Sourcepub const fn with_usage_ledger(self, include_usage_ledger: bool) -> Self
pub const fn with_usage_ledger(self, include_usage_ledger: bool) -> Self
Include or exclude the usage ledger.
Sourcepub const fn with_subagent(self, include_subagent: bool) -> Self
pub const fn with_subagent(self, include_subagent: bool) -> Self
Include or exclude subagent state.
Sourcepub const fn include_subagent(self) -> bool
pub const fn include_subagent(self) -> bool
Return whether subagent state is included.
Sourcepub const fn include_usage_ledger(self) -> bool
pub const fn include_usage_ledger(self) -> bool
Return whether the usage ledger is included.
Sourcepub const fn include_starweaver_extensions(self) -> bool
pub const fn include_starweaver_extensions(self) -> bool
Return whether Starweaver runtime extensions are included.
Sourcepub const fn include_runtime_policy(self) -> bool
pub const fn include_runtime_policy(self) -> bool
Return whether runtime config and security policy are included.
Trait Implementations§
Source§impl Clone for ResumableExportOptions
impl Clone for ResumableExportOptions
Source§fn clone(&self) -> ResumableExportOptions
fn clone(&self) -> ResumableExportOptions
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 moreimpl Copy for ResumableExportOptions
Source§impl Debug for ResumableExportOptions
impl Debug for ResumableExportOptions
Source§impl Default for ResumableExportOptions
impl Default for ResumableExportOptions
impl Eq for ResumableExportOptions
Source§impl PartialEq for ResumableExportOptions
impl PartialEq for ResumableExportOptions
impl StructuralPartialEq for ResumableExportOptions
Auto Trait Implementations§
impl Freeze for ResumableExportOptions
impl RefUnwindSafe for ResumableExportOptions
impl Send for ResumableExportOptions
impl Sync for ResumableExportOptions
impl Unpin for ResumableExportOptions
impl UnsafeUnpin for ResumableExportOptions
impl UnwindSafe for ResumableExportOptions
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