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