pub struct ResultRecord {
pub id: ContentId,
pub ty: Type,
pub format: Format,
pub size: u64,
pub run: Option<String>,
pub incomplete: bool,
}Expand description
A stored result (standard §3.1).
Fields§
§id: ContentIdIts content id.
ty: TypeWhat it is.
format: FormatHow it is encoded.
size: u64Its size in bytes.
run: Option<String>The run that made it (None for a source the store was given).
incomplete: boolMade by a run that was cancelled: usable and exportable, its metadata says run incomplete, and never reused by run key.
Trait Implementations§
Source§impl Clone for ResultRecord
impl Clone for ResultRecord
Source§impl Debug for ResultRecord
impl Debug for ResultRecord
Source§impl<'de> Deserialize<'de> for ResultRecord
impl<'de> Deserialize<'de> for ResultRecord
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
impl Eq for ResultRecord
Source§impl JsonSchema for ResultRecord
impl JsonSchema for ResultRecord
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ResultRecord
impl PartialEq for ResultRecord
Source§impl Serialize for ResultRecord
impl Serialize for ResultRecord
impl StructuralPartialEq for ResultRecord
Auto Trait Implementations§
impl Forget for ResultRecord
impl Freeze for ResultRecord
impl Move for ResultRecord
impl RefUnwindSafe for ResultRecord
impl Send for ResultRecordwhere
RawVecInner: Send,
impl Sync for ResultRecordwhere
RawVecInner: Sync,
impl Unpin for ResultRecord
impl UnsafeUnpin for ResultRecord
impl UnwindSafe for ResultRecordwhere
RawVecInner: UnwindSafe,
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