pub struct CompactionBody {
pub id: String,
pub encrypted_content: String,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
A compaction item generated by the /v1/responses/compact API.
Fields§
§id: StringThe unique ID of the compaction item.
encrypted_content: StringThe encrypted content.
created_by: Option<String>Created by model/user identifier.
Trait Implementations§
Source§impl Clone for CompactionBody
impl Clone for CompactionBody
Source§fn clone(&self) -> CompactionBody
fn clone(&self) -> CompactionBody
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 CompactionBody
impl Debug for CompactionBody
Source§impl<'de> Deserialize<'de> for CompactionBody
impl<'de> Deserialize<'de> for CompactionBody
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
Source§impl PartialEq for CompactionBody
impl PartialEq for CompactionBody
Source§impl Serialize for CompactionBody
impl Serialize for CompactionBody
impl StructuralPartialEq for CompactionBody
Auto Trait Implementations§
impl Freeze for CompactionBody
impl RefUnwindSafe for CompactionBody
impl Send for CompactionBody
impl Sync for CompactionBody
impl Unpin for CompactionBody
impl UnwindSafe for CompactionBody
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