pub struct ThemeResponse {
pub theme: Option<Box<Theme>>,
pub themes: Option<Vec<Theme>>,
}
Expand description
ThemeResponse : Theme API response object.
Fields§
§theme: Option<Box<Theme>>
§themes: Option<Vec<Theme>>
Implementations§
Source§impl ThemeResponse
impl ThemeResponse
Sourcepub fn new() -> ThemeResponse
pub fn new() -> ThemeResponse
Theme API response object.
Trait Implementations§
Source§impl Clone for ThemeResponse
impl Clone for ThemeResponse
Source§fn clone(&self) -> ThemeResponse
fn clone(&self) -> ThemeResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThemeResponse
impl Debug for ThemeResponse
Source§impl Default for ThemeResponse
impl Default for ThemeResponse
Source§fn default() -> ThemeResponse
fn default() -> ThemeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThemeResponse
impl<'de> Deserialize<'de> for ThemeResponse
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 ThemeResponse
impl PartialEq for ThemeResponse
Source§impl Serialize for ThemeResponse
impl Serialize for ThemeResponse
impl StructuralPartialEq for ThemeResponse
Auto Trait Implementations§
impl Freeze for ThemeResponse
impl RefUnwindSafe for ThemeResponse
impl Send for ThemeResponse
impl Sync for ThemeResponse
impl Unpin for ThemeResponse
impl UnwindSafe for ThemeResponse
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