pub struct ThreadAttachmentAddParams {
pub attachment_type: String,
pub identity_key: String,
pub payload: Value,
pub thread_id: String,
}Expand description
Parameters for creating or locating an attachment on its owning thread.
Fields§
§attachment_type: String§identity_key: String§payload: Value§thread_id: StringTrait Implementations§
Source§impl Clone for ThreadAttachmentAddParams
impl Clone for ThreadAttachmentAddParams
Source§fn clone(&self) -> ThreadAttachmentAddParams
fn clone(&self) -> ThreadAttachmentAddParams
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 ThreadAttachmentAddParams
impl Debug for ThreadAttachmentAddParams
Source§impl Default for ThreadAttachmentAddParams
impl Default for ThreadAttachmentAddParams
Source§fn default() -> ThreadAttachmentAddParams
fn default() -> ThreadAttachmentAddParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreadAttachmentAddParams
impl<'de> Deserialize<'de> for ThreadAttachmentAddParams
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 StructuralPartialEq for ThreadAttachmentAddParams
Auto Trait Implementations§
impl Freeze for ThreadAttachmentAddParams
impl RefUnwindSafe for ThreadAttachmentAddParams
impl Send for ThreadAttachmentAddParams
impl Sync for ThreadAttachmentAddParams
impl Unpin for ThreadAttachmentAddParams
impl UnsafeUnpin for ThreadAttachmentAddParams
impl UnwindSafe for ThreadAttachmentAddParams
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