Struct rspotify_model::user::ExplicitContent
source · pub struct ExplicitContent {
pub filter_enabled: bool,
pub filter_locked: bool,
}
Expand description
Explicit content setting object
Fields§
§filter_enabled: bool
§filter_locked: bool
Trait Implementations§
source§impl Clone for ExplicitContent
impl Clone for ExplicitContent
source§fn clone(&self) -> ExplicitContent
fn clone(&self) -> ExplicitContent
Returns a copy 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 ExplicitContent
impl Debug for ExplicitContent
source§impl Default for ExplicitContent
impl Default for ExplicitContent
source§fn default() -> ExplicitContent
fn default() -> ExplicitContent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExplicitContent
impl<'de> Deserialize<'de> for ExplicitContent
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 ExplicitContent
impl PartialEq for ExplicitContent
source§fn eq(&self, other: &ExplicitContent) -> bool
fn eq(&self, other: &ExplicitContent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExplicitContent
impl Serialize for ExplicitContent
impl Eq for ExplicitContent
impl StructuralPartialEq for ExplicitContent
Auto Trait Implementations§
impl Freeze for ExplicitContent
impl RefUnwindSafe for ExplicitContent
impl Send for ExplicitContent
impl Sync for ExplicitContent
impl Unpin for ExplicitContent
impl UnwindSafe for ExplicitContent
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