Struct google_calendar3::api::AclRule[][src]

pub struct AclRule {
    pub etag: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub role: Option<String>,
    pub scope: Option<AclRuleScope>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

etag: Option<String>

ETag of the resource.

id: Option<String>

Identifier of the Access Control List (ACL) rule. See Sharing calendars.

kind: Option<String>

Type of the resource (“calendar#aclRule”).

role: Option<String>

The role assigned to the scope. Possible values are:

  • “none” - Provides no access.
  • “freeBusyReader” - Provides read access to free/busy information.
  • “reader” - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
  • “writer” - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
  • “owner” - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
scope: Option<AclRuleScope>

The extent to which calendar access is granted by this ACL rule.

Trait Implementations

impl Clone for AclRule[src]

impl Debug for AclRule[src]

impl Default for AclRule[src]

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

impl RequestValue for AclRule[src]

impl ResponseResult for AclRule[src]

impl Serialize for AclRule[src]

Auto Trait Implementations

impl RefUnwindSafe for AclRule

impl Send for AclRule

impl Sync for AclRule

impl Unpin for AclRule

impl UnwindSafe for AclRule

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, 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.