Struct google_books1::DownloadAccessRestriction
[−]
[src]
pub struct DownloadAccessRestriction { pub nonce: Option<String>, pub kind: Option<String>, pub just_acquired: Option<bool>, pub max_download_devices: Option<i32>, pub downloads_acquired: Option<i32>, pub volume_id: Option<String>, pub device_allowed: Option<bool>, pub source: Option<String>, pub signature: Option<String>, pub reason_code: Option<String>, pub message: Option<String>, pub restricted: Option<bool>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
nonce: Option<String>
Client nonce for verification. Download access and client-validation only.
kind: Option<String>
Resource type.
just_acquired: Option<bool>
If deviceAllowed, whether access was just acquired with this request.
max_download_devices: Option<i32>
If restricted, the maximum number of content download licenses for this volume.
downloads_acquired: Option<i32>
If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
volume_id: Option<String>
Identifies the volume for which this entry applies.
device_allowed: Option<bool>
If restricted, whether access is granted for this (user, device, volume).
source: Option<String>
Client app identifier for verification. Download access and client-validation only.
signature: Option<String>
Response signature.
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
message: Option<String>
Error/warning message.
restricted: Option<bool>
Whether this volume has any download access restrictions.
Trait Implementations
impl Default for DownloadAccessRestriction
[src]
fn default() -> DownloadAccessRestriction
Returns the "default value" for a type. Read more
impl Clone for DownloadAccessRestriction
[src]
fn clone(&self) -> DownloadAccessRestriction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more