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

Client nonce for verification. Download access and client-validation only.

Resource type.

If deviceAllowed, whether access was just acquired with this request.

If restricted, the maximum number of content download licenses for this volume.

If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).

Identifies the volume for which this entry applies.

If restricted, whether access is granted for this (user, device, volume).

Client app identifier for verification. Download access and client-validation only.

Response signature.

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

Error/warning message.

Whether this volume has any download access restrictions.

Trait Implementations

impl Default for DownloadAccessRestriction
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for DownloadAccessRestriction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DownloadAccessRestriction
[src]

[src]

Formats the value using the given formatter.

impl Part for DownloadAccessRestriction
[src]