pub struct FreeformWrite { /* private fields */ }Expand description
A validated request to capture one complete source file from a provider.
Implementations§
Source§impl FreeformWrite
impl FreeformWrite
Sourcepub fn acknowledgement(&self) -> String
pub fn acknowledgement(&self) -> String
The prompt acknowledgement that starts raw provider output capture.
Sourcepub fn kind(&self) -> ManagedSourceKind
pub fn kind(&self) -> ManagedSourceKind
The managed source kind selected by the freeform tool name.
Sourcepub fn preview_tool(&self) -> &'static str
pub fn preview_tool(&self) -> &'static str
The non-mutating development tool used before the captured write.
Sourcepub fn write_tool(&self) -> &'static str
pub fn write_tool(&self) -> &'static str
The development tool that commits the captured file contents.
Sourcepub fn source_box_id(&self, session: &Session) -> Result<BoxId>
pub fn source_box_id(&self, session: &Session) -> Result<BoxId>
Resolve the still-open source box this request is allowed to replace.
Sourcepub fn result_record(&self, ok: bool, result: &str) -> Value
pub fn result_record(&self, ok: bool, result: &str) -> Value
Build the durable application note recorded after the captured write.
Trait Implementations§
Source§impl Clone for FreeformWrite
impl Clone for FreeformWrite
Source§fn clone(&self) -> FreeformWrite
fn clone(&self) -> FreeformWrite
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 FreeformWrite
impl Debug for FreeformWrite
impl Eq for FreeformWrite
Source§impl PartialEq for FreeformWrite
impl PartialEq for FreeformWrite
impl StructuralPartialEq for FreeformWrite
Auto Trait Implementations§
impl Freeze for FreeformWrite
impl RefUnwindSafe for FreeformWrite
impl Send for FreeformWrite
impl Sync for FreeformWrite
impl Unpin for FreeformWrite
impl UnsafeUnpin for FreeformWrite
impl UnwindSafe for FreeformWrite
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