pub struct ThreadPatch {
pub metadata: Option<Value>,
pub ttl: Option<Box<Ttl>>,
}Expand description
ThreadPatch : Payload for updating a thread.
Fields§
§metadata: Option<Value>Metadata to merge with existing thread metadata.
ttl: Option<Box<Ttl>>Implementations§
Source§impl ThreadPatch
impl ThreadPatch
Sourcepub fn new() -> ThreadPatch
pub fn new() -> ThreadPatch
Payload for updating a thread.
Trait Implementations§
Source§impl Clone for ThreadPatch
impl Clone for ThreadPatch
Source§fn clone(&self) -> ThreadPatch
fn clone(&self) -> ThreadPatch
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 ThreadPatch
impl Debug for ThreadPatch
Source§impl Default for ThreadPatch
impl Default for ThreadPatch
Source§fn default() -> ThreadPatch
fn default() -> ThreadPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreadPatch
impl<'de> Deserialize<'de> for ThreadPatch
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 ThreadPatch
impl PartialEq for ThreadPatch
Source§impl Serialize for ThreadPatch
impl Serialize for ThreadPatch
impl StructuralPartialEq for ThreadPatch
Auto Trait Implementations§
impl Freeze for ThreadPatch
impl RefUnwindSafe for ThreadPatch
impl Send for ThreadPatch
impl Sync for ThreadPatch
impl Unpin for ThreadPatch
impl UnwindSafe for ThreadPatch
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