Struct google_youtube3::api::MembershipsLevel
source · pub struct MembershipsLevel {
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub snippet: Option<MembershipsLevelSnippet>,
}
Expand description
A membershipsLevel resource represents an offer made by YouTube creators for their fans. Users can become members of the channel by joining one of the available levels. They will provide recurring monetary support and receives special benefits.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list memberships levels (none)
Fields§
§etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube assigns to uniquely identify the memberships level.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#membershipsLevelListResponse”.
snippet: Option<MembershipsLevelSnippet>
The snippet object contains basic details about the level.
Trait Implementations§
source§impl Clone for MembershipsLevel
impl Clone for MembershipsLevel
source§fn clone(&self) -> MembershipsLevel
fn clone(&self) -> MembershipsLevel
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 MembershipsLevel
impl Debug for MembershipsLevel
source§impl Default for MembershipsLevel
impl Default for MembershipsLevel
source§fn default() -> MembershipsLevel
fn default() -> MembershipsLevel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MembershipsLevel
impl<'de> Deserialize<'de> for MembershipsLevel
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 Serialize for MembershipsLevel
impl Serialize for MembershipsLevel
source§impl ToParts for MembershipsLevel
impl ToParts for MembershipsLevel
impl Resource for MembershipsLevel
Auto Trait Implementations§
impl RefUnwindSafe for MembershipsLevel
impl Send for MembershipsLevel
impl Sync for MembershipsLevel
impl Unpin for MembershipsLevel
impl UnwindSafe for MembershipsLevel
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