[][src]Struct google_books1::DownloadAccessRestriction

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 Clone for DownloadAccessRestriction[src]

impl Debug for DownloadAccessRestriction[src]

impl Default for DownloadAccessRestriction[src]

impl<'de> Deserialize<'de> for DownloadAccessRestriction[src]

impl Part for DownloadAccessRestriction[src]

impl Serialize for DownloadAccessRestriction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any