pub struct ContextRecordArtifactRequest {Show 24 fields
pub id: Option<String>,
pub source_event_id: Option<i64>,
pub source: Option<String>,
pub source_version: Option<String>,
pub repo_id: Option<String>,
pub workspace_path_hash: Option<String>,
pub workspace: Option<String>,
pub session_id: Option<String>,
pub task_id: Option<String>,
pub agent_id: Option<String>,
pub kind: String,
pub label: Option<String>,
pub uri: Option<String>,
pub raw_pointer: Option<String>,
pub media_type: Option<String>,
pub raw_content: Option<String>,
pub content_sha256: Option<String>,
pub byte_len: Option<i64>,
pub retention_policy: Option<String>,
pub access_policy: Option<String>,
pub retain_raw: Option<bool>,
pub ttl_seconds: Option<i64>,
pub stale_after_seconds: Option<i64>,
pub metadata: Option<Value>,
}Fields§
§id: Option<String>§source_event_id: Option<i64>§source: Option<String>§source_version: Option<String>§repo_id: Option<String>§workspace_path_hash: Option<String>§workspace: Option<String>§session_id: Option<String>§task_id: Option<String>§agent_id: Option<String>§kind: String§label: Option<String>§uri: Option<String>§raw_pointer: Option<String>§media_type: Option<String>§raw_content: Option<String>§content_sha256: Option<String>§byte_len: Option<i64>§retention_policy: Option<String>§access_policy: Option<String>§retain_raw: Option<bool>§ttl_seconds: Option<i64>§stale_after_seconds: Option<i64>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for ContextRecordArtifactRequest
impl Clone for ContextRecordArtifactRequest
Source§fn clone(&self) -> ContextRecordArtifactRequest
fn clone(&self) -> ContextRecordArtifactRequest
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 ContextRecordArtifactRequest
impl Debug for ContextRecordArtifactRequest
Source§impl<'de> Deserialize<'de> for ContextRecordArtifactRequest
impl<'de> Deserialize<'de> for ContextRecordArtifactRequest
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 ContextRecordArtifactRequest
impl RefUnwindSafe for ContextRecordArtifactRequest
impl Send for ContextRecordArtifactRequest
impl Sync for ContextRecordArtifactRequest
impl Unpin for ContextRecordArtifactRequest
impl UnsafeUnpin for ContextRecordArtifactRequest
impl UnwindSafe for ContextRecordArtifactRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.