pub struct SaveArtifactRequest {
pub app_name: String,
pub user_id: String,
pub session_id: String,
pub filename: String,
pub artifact: Part,
pub custom_metadata: Option<Value>,
}Expand description
The parameters for saveArtifact.
Fields§
§app_name: StringThe app name.
user_id: StringThe user ID.
session_id: StringThe session ID.
filename: StringThe filename of the artifact.
artifact: PartThe artifact to save.
custom_metadata: Option<Value>Optional custom metadata to save with the artifact.
Trait Implementations§
Source§impl Clone for SaveArtifactRequest
impl Clone for SaveArtifactRequest
Source§fn clone(&self) -> SaveArtifactRequest
fn clone(&self) -> SaveArtifactRequest
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 moreAuto Trait Implementations§
impl Freeze for SaveArtifactRequest
impl RefUnwindSafe for SaveArtifactRequest
impl Send for SaveArtifactRequest
impl Sync for SaveArtifactRequest
impl Unpin for SaveArtifactRequest
impl UnwindSafe for SaveArtifactRequest
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