Struct gcs_example::storage_v1_types::ObjectsTestIamPermissionsParams[][src]

pub struct ObjectsTestIamPermissionsParams {
    pub storage_params: Option<StorageParams>,
    pub bucket: String,
    pub generation: Option<String>,
    pub object: String,
    pub permissions: String,
    pub provisional_user_project: Option<String>,
    pub user_project: Option<String>,
}

Parameters for the objects.testIamPermissions method.

Fields

storage_params: Option<StorageParams>

General attributes applying to any API call

bucket: String

Name of the bucket in which the object resides.

generation: Option<String>

i64: If present, selects a specific revision of this object (as opposed to the latest version, the default).

object: String

Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

permissions: String

Permissions to test.

provisional_user_project: Option<String>

The project to be billed for this request if the target bucket is requester-pays bucket.

user_project: Option<String>

The project to be billed for this request. Required for Requester Pays buckets.

Trait Implementations

impl Clone for ObjectsTestIamPermissionsParams[src]

impl Debug for ObjectsTestIamPermissionsParams[src]

impl Default for ObjectsTestIamPermissionsParams[src]

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

impl Display for ObjectsTestIamPermissionsParams[src]

impl Serialize for ObjectsTestIamPermissionsParams[src]

Auto Trait Implementations

impl RefUnwindSafe for ObjectsTestIamPermissionsParams

impl Send for ObjectsTestIamPermissionsParams

impl Sync for ObjectsTestIamPermissionsParams

impl Unpin for ObjectsTestIamPermissionsParams

impl UnwindSafe for ObjectsTestIamPermissionsParams

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> Instrument for T[src]

impl<T> Instrument 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> ToString for T where
    T: Display + ?Sized
[src]

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.