pub struct ArtifactResponse {
pub artifact_id: ArtifactId,
pub scope_id: ScopeId,
pub artifact_type: ArtifactType,
pub content_hash: Option<String>,
pub content: Option<String>,
pub filename: Option<String>,
pub mime_type: Option<String>,
pub size_bytes: Option<i64>,
pub version: i32,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub metadata: Option<Value>,
}Expand description
Artifact response from the API.
Fields§
§artifact_id: ArtifactId§scope_id: ScopeId§artifact_type: ArtifactType§content_hash: Option<String>§content: Option<String>§filename: Option<String>§mime_type: Option<String>§size_bytes: Option<i64>§version: i32§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for ArtifactResponse
impl Clone for ArtifactResponse
Source§fn clone(&self) -> ArtifactResponse
fn clone(&self) -> ArtifactResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 ArtifactResponse
impl Debug for ArtifactResponse
Source§impl<'de> Deserialize<'de> for ArtifactResponse
impl<'de> Deserialize<'de> for ArtifactResponse
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 ArtifactResponse
impl RefUnwindSafe for ArtifactResponse
impl Send for ArtifactResponse
impl Sync for ArtifactResponse
impl Unpin for ArtifactResponse
impl UnwindSafe for ArtifactResponse
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