pub struct FetchRequest {
pub config: String,
pub secrets_dir: PathBuf,
pub out_dir: PathBuf,
pub spec: RunSpec,
pub checkpoint: Option<String>,
}Expand description
One fetch invocation (ADR 0001). The checkpoint is a READ-ONLY snapshot of the last successfully PUBLISHED run’s successor — plugins carry no writable durable state, so no crash before publication can suppress a future fetch.
Fields§
§config: String§secrets_dir: PathBuf§out_dir: PathBufThis run’s staging directory in the ledger (operation-private).
spec: RunSpec§checkpoint: Option<String>Opaque plugin-defined text (RON recommended); engine-persisted.
Trait Implementations§
Source§impl Clone for FetchRequest
impl Clone for FetchRequest
Source§fn clone(&self) -> FetchRequest
fn clone(&self) -> FetchRequest
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 FetchRequest
impl Debug for FetchRequest
Source§impl<'de> Deserialize<'de> for FetchRequest
impl<'de> Deserialize<'de> for FetchRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FetchRequest
impl RefUnwindSafe for FetchRequest
impl Send for FetchRequest
impl Sync for FetchRequest
impl Unpin for FetchRequest
impl UnsafeUnpin for FetchRequest
impl UnwindSafe for FetchRequest
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