pub struct StampStatus {
pub batch_id: String,
pub exists: bool,
pub usable: bool,
pub batch_ttl: i64,
pub healthy: bool,
pub warnings: Vec<String>,
}Expand description
Result of the --reseed --stamp <id> pre-flight check. Mirrors
ipfs-check’s “stale records” hint in spirit: surface upstream-data
problems before doing the operation.
Fields§
§batch_id: String§exists: bool§usable: bool§batch_ttl: i64§healthy: boolusable && exists && batch_ttl >= STAMP_LOW_TTL_SECS (or
batch_ttl < 0, meaning unknown/infinite).
warnings: Vec<String>Trait Implementations§
Source§impl Debug for StampStatus
impl Debug for StampStatus
Source§impl<'de> Deserialize<'de> for StampStatus
impl<'de> Deserialize<'de> for StampStatus
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 StampStatus
impl RefUnwindSafe for StampStatus
impl Send for StampStatus
impl Sync for StampStatus
impl Unpin for StampStatus
impl UnsafeUnpin for StampStatus
impl UnwindSafe for StampStatus
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