#[non_exhaustive]pub struct OutputRef {
pub id: String,
pub kind: String,
pub uri: String,
pub media_type: Option<String>,
pub byte_len: u64,
pub digest: Option<String>,
pub path: Option<String>,
pub availability: OutputRefAvailability,
}Expand description
Stored-output reference: the camelCased fold of the durable ToolOutputRef.
The fetch path is item/readOutput.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe stored output’s durable id.
kind: StringThe stored output’s kind, verbatim durable vocabulary.
uri: StringThe stored output’s URI.
media_type: Option<String>Media type, when recorded.
byte_len: u64Stored byte length.
digest: Option<String>Content digest (e.g. "sha256:..."), when recorded.
path: Option<String>Stored path, when recorded.
availability: OutputRefAvailabilityWhether the bytes are servable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OutputRef
impl<'de> Deserialize<'de> for OutputRef
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 OutputRef
impl StructuralPartialEq for OutputRef
Auto Trait Implementations§
impl Freeze for OutputRef
impl RefUnwindSafe for OutputRef
impl Send for OutputRef
impl Sync for OutputRef
impl Unpin for OutputRef
impl UnsafeUnpin for OutputRef
impl UnwindSafe for OutputRef
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