Struct google_youtube3::api::MembershipsDetails
source · pub struct MembershipsDetails {
pub accessible_levels: Option<Vec<String>>,
pub highest_accessible_level: Option<String>,
pub highest_accessible_level_display_name: Option<String>,
pub memberships_duration: Option<MembershipsDuration>,
pub memberships_duration_at_levels: Option<Vec<MembershipsDurationAtLevel>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§accessible_levels: Option<Vec<String>>
Ids of all levels that the user has access to. This includes the currently active level and all other levels that are included because of a higher purchase.
highest_accessible_level: Option<String>
Id of the highest level that the user has access to at the moment.
highest_accessible_level_display_name: Option<String>
Display name for the highest level that the user has access to at the moment.
memberships_duration: Option<MembershipsDuration>
Data about memberships duration without taking into consideration pricing levels.
memberships_duration_at_levels: Option<Vec<MembershipsDurationAtLevel>>
Data about memberships duration on particular pricing levels.
Trait Implementations§
source§impl Clone for MembershipsDetails
impl Clone for MembershipsDetails
source§fn clone(&self) -> MembershipsDetails
fn clone(&self) -> MembershipsDetails
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 MembershipsDetails
impl Debug for MembershipsDetails
source§impl Default for MembershipsDetails
impl Default for MembershipsDetails
source§fn default() -> MembershipsDetails
fn default() -> MembershipsDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MembershipsDetails
impl<'de> Deserialize<'de> for MembershipsDetails
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 MembershipsDetails
impl Serialize for MembershipsDetails
impl Part for MembershipsDetails
Auto Trait Implementations§
impl RefUnwindSafe for MembershipsDetails
impl Send for MembershipsDetails
impl Sync for MembershipsDetails
impl Unpin for MembershipsDetails
impl UnwindSafe for MembershipsDetails
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