pub struct ExtensionFile {
pub filename: String,
pub content: String,
}Expand description
One generated extension/settings file: the filename to write it as and the
content to fill it with. Returned by build_extension for agents that
support a per-launch file-loaded integration (Claude Code’s --settings,
pi’s -e <path>).
Fields§
§filename: String§content: StringTrait Implementations§
Source§impl Clone for ExtensionFile
impl Clone for ExtensionFile
Source§fn clone(&self) -> ExtensionFile
fn clone(&self) -> ExtensionFile
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 moreSource§impl Debug for ExtensionFile
impl Debug for ExtensionFile
Source§impl PartialEq for ExtensionFile
impl PartialEq for ExtensionFile
Source§fn eq(&self, other: &ExtensionFile) -> bool
fn eq(&self, other: &ExtensionFile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExtensionFile
impl StructuralPartialEq for ExtensionFile
Auto Trait Implementations§
impl Freeze for ExtensionFile
impl RefUnwindSafe for ExtensionFile
impl Send for ExtensionFile
impl Sync for ExtensionFile
impl Unpin for ExtensionFile
impl UnsafeUnpin for ExtensionFile
impl UnwindSafe for ExtensionFile
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