pub struct Ack {
pub status: String,
pub nonces: Vec<String>,
pub sentinel_mtime_unix_ns: u128,
pub seq: Option<u64>,
pub manifest_etag: Option<String>,
pub boundary: String,
pub completed_unix: u64,
pub reason: Option<String>,
pub report: AckReport,
}Expand description
The ack document (.flint/<verb>.ack).
Fields§
§status: String“ok” | “partial” | “refused-scope” | “refused-read-only”.
partial is the honest answer when the boundary installed but a
path the agent declared is not in it (D1) —
report.dropped names them. An agent that treats it as failure
and re-touches is behaving correctly.
nonces: Vec<String>§sentinel_mtime_unix_ns: u128§seq: Option<u64>§manifest_etag: Option<String>§boundary: String“sentinel” | “sentinel-deferred” | “drain”.
completed_unix: u64§reason: Option<String>Set on a refusal (refused-scope, refused-read-only): what was
wrong with the request, or why it cannot be done here, in words.
report: AckReportTrait Implementations§
Source§impl<'de> Deserialize<'de> for Ack
impl<'de> Deserialize<'de> for Ack
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 Ack
impl RefUnwindSafe for Ack
impl Send for Ack
impl Sync for Ack
impl Unpin for Ack
impl UnsafeUnpin for Ack
impl UnwindSafe for Ack
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