pub struct ContextArtifact {
pub id: ContextArtifactId,
pub kind: ContextArtifactKind,
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub byte_count: u64,
pub line_count: u64,
pub source_tool_id: Option<String>,
pub label: Option<String>,
pub store_path: String,
pub retention_expires_at: Option<OffsetDateTime>,
pub created_at: OffsetDateTime,
pub roder_owned: bool,
}Fields§
§id: ContextArtifactId§kind: ContextArtifactKind§thread_id: ThreadId§turn_id: TurnId§byte_count: u64§line_count: u64§source_tool_id: Option<String>§label: Option<String>§store_path: String§retention_expires_at: Option<OffsetDateTime>§created_at: OffsetDateTime§roder_owned: boolImplementations§
Source§impl ContextArtifact
impl ContextArtifact
pub fn descriptor(&self) -> ContextArtifactDescriptor
Trait Implementations§
Source§impl Clone for ContextArtifact
impl Clone for ContextArtifact
Source§fn clone(&self) -> ContextArtifact
fn clone(&self) -> ContextArtifact
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 ContextArtifact
impl Debug for ContextArtifact
Source§impl<'de> Deserialize<'de> for ContextArtifact
impl<'de> Deserialize<'de> for ContextArtifact
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 ContextArtifact
Source§impl PartialEq for ContextArtifact
impl PartialEq for ContextArtifact
Source§fn eq(&self, other: &ContextArtifact) -> bool
fn eq(&self, other: &ContextArtifact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextArtifact
impl Serialize for ContextArtifact
impl StructuralPartialEq for ContextArtifact
Auto Trait Implementations§
impl Freeze for ContextArtifact
impl RefUnwindSafe for ContextArtifact
impl Send for ContextArtifact
impl Sync for ContextArtifact
impl Unpin for ContextArtifact
impl UnsafeUnpin for ContextArtifact
impl UnwindSafe for ContextArtifact
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.