#[non_exhaustive]pub struct TopicListResponse {
pub title: Option<String>,
pub description: Option<String>,
pub topics: Option<Vec<Topic>>,
}Expand description
TopicListResponse — wrapped topic list (sent, spam, trash, everything)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: Option<String>§description: Option<String>§topics: Option<Vec<Topic>>Trait Implementations§
Source§impl Clone for TopicListResponse
impl Clone for TopicListResponse
Source§fn clone(&self) -> TopicListResponse
fn clone(&self) -> TopicListResponse
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 TopicListResponse
impl Debug for TopicListResponse
Source§impl Default for TopicListResponse
impl Default for TopicListResponse
Source§fn default() -> TopicListResponse
fn default() -> TopicListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TopicListResponse
impl<'de> Deserialize<'de> for TopicListResponse
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 TopicListResponse
impl PartialEq for TopicListResponse
Source§impl Serialize for TopicListResponse
impl Serialize for TopicListResponse
impl StructuralPartialEq for TopicListResponse
Auto Trait Implementations§
impl Freeze for TopicListResponse
impl RefUnwindSafe for TopicListResponse
impl Send for TopicListResponse
impl Sync for TopicListResponse
impl Unpin for TopicListResponse
impl UnsafeUnpin for TopicListResponse
impl UnwindSafe for TopicListResponse
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