pub struct DownloadAccessRestriction {
pub device_allowed: Option<bool>,
pub downloads_acquired: Option<i32>,
pub just_acquired: Option<bool>,
pub kind: Option<String>,
pub max_download_devices: Option<i32>,
pub message: Option<String>,
pub nonce: Option<String>,
pub reason_code: Option<String>,
pub restricted: Option<bool>,
pub signature: Option<String>,
pub source: Option<String>,
pub volume_id: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_allowed: Option<bool>If restricted, whether access is granted for this (user, device, volume).
downloads_acquired: Option<i32>If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
just_acquired: Option<bool>If deviceAllowed, whether access was just acquired with this request.
kind: Option<String>Resource type.
max_download_devices: Option<i32>If restricted, the maximum number of content download licenses for this volume.
message: Option<String>Error/warning message.
nonce: Option<String>Client nonce for verification. Download access and client-validation only.
reason_code: Option<String>Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
restricted: Option<bool>Whether this volume has any download access restrictions.
signature: Option<String>Response signature.
source: Option<String>Client app identifier for verification. Download access and client-validation only.
volume_id: Option<String>Identifies the volume for which this entry applies.
Trait Implementations§
Source§impl Clone for DownloadAccessRestriction
impl Clone for DownloadAccessRestriction
Source§fn clone(&self) -> DownloadAccessRestriction
fn clone(&self) -> DownloadAccessRestriction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DownloadAccessRestriction
impl Debug for DownloadAccessRestriction
Source§impl Default for DownloadAccessRestriction
impl Default for DownloadAccessRestriction
Source§fn default() -> DownloadAccessRestriction
fn default() -> DownloadAccessRestriction
Source§impl<'de> Deserialize<'de> for DownloadAccessRestriction
impl<'de> Deserialize<'de> for DownloadAccessRestriction
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>,
impl Part for DownloadAccessRestriction
Auto Trait Implementations§
impl Freeze for DownloadAccessRestriction
impl RefUnwindSafe for DownloadAccessRestriction
impl Send for DownloadAccessRestriction
impl Sync for DownloadAccessRestriction
impl Unpin for DownloadAccessRestriction
impl UnwindSafe for DownloadAccessRestriction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more