pub struct ResponseCompactionItem {
pub id: String,
pub encrypted_content: String,
pub type_: String,
pub created_by: Option<String>,
}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 that was produced by compaction.
type_: StringThe type of the item. Always compaction.
created_by: Option<String>The identifier of the actor that created the item.
Trait Implementations§
Source§impl Clone for ResponseCompactionItem
impl Clone for ResponseCompactionItem
Source§fn clone(&self) -> ResponseCompactionItem
fn clone(&self) -> ResponseCompactionItem
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 ResponseCompactionItem
impl Debug for ResponseCompactionItem
Source§impl<'de> Deserialize<'de> for ResponseCompactionItem
impl<'de> Deserialize<'de> for ResponseCompactionItem
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 ResponseCompactionItem
impl RefUnwindSafe for ResponseCompactionItem
impl Send for ResponseCompactionItem
impl Sync for ResponseCompactionItem
impl Unpin for ResponseCompactionItem
impl UnsafeUnpin for ResponseCompactionItem
impl UnwindSafe for ResponseCompactionItem
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