Struct google_youtube3::api::AccessPolicy
source · pub struct AccessPolicy {
pub allowed: Option<bool>,
pub exception: Option<Vec<String>>,
}
Expand description
Rights management policy for YouTube resources.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed: Option<bool>
The value of allowed indicates whether the access to the policy is allowed or denied by default.
exception: Option<Vec<String>>
A list of region codes that identify countries where the default policy do not apply.
Trait Implementations§
source§impl Clone for AccessPolicy
impl Clone for AccessPolicy
source§fn clone(&self) -> AccessPolicy
fn clone(&self) -> AccessPolicy
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 AccessPolicy
impl Debug for AccessPolicy
source§impl Default for AccessPolicy
impl Default for AccessPolicy
source§fn default() -> AccessPolicy
fn default() -> AccessPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccessPolicy
impl<'de> Deserialize<'de> for AccessPolicy
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 AccessPolicy
impl Serialize for AccessPolicy
impl Part for AccessPolicy
Auto Trait Implementations§
impl RefUnwindSafe for AccessPolicy
impl Send for AccessPolicy
impl Sync for AccessPolicy
impl Unpin for AccessPolicy
impl UnwindSafe for AccessPolicy
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