pub struct GetThreadResponse {
pub thread: Box<SpatioThread>,
pub provider: String,
}Fields§
§thread: Box<SpatioThread>§provider: StringImplementations§
Source§impl GetThreadResponse
impl GetThreadResponse
pub fn new(thread: SpatioThread, provider: String) -> GetThreadResponse
Trait Implementations§
Source§impl Clone for GetThreadResponse
impl Clone for GetThreadResponse
Source§fn clone(&self) -> GetThreadResponse
fn clone(&self) -> GetThreadResponse
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 GetThreadResponse
impl Debug for GetThreadResponse
Source§impl Default for GetThreadResponse
impl Default for GetThreadResponse
Source§fn default() -> GetThreadResponse
fn default() -> GetThreadResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetThreadResponse
impl<'de> Deserialize<'de> for GetThreadResponse
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 GetThreadResponse
impl PartialEq for GetThreadResponse
Source§fn eq(&self, other: &GetThreadResponse) -> bool
fn eq(&self, other: &GetThreadResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetThreadResponse
impl Serialize for GetThreadResponse
impl StructuralPartialEq for GetThreadResponse
Auto Trait Implementations§
impl Freeze for GetThreadResponse
impl RefUnwindSafe for GetThreadResponse
impl Send for GetThreadResponse
impl Sync for GetThreadResponse
impl Unpin for GetThreadResponse
impl UnsafeUnpin for GetThreadResponse
impl UnwindSafe for GetThreadResponse
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