[][src]Struct gcp_client::google::storage::v1::Channel

pub struct Channel {
    pub id: String,
    pub resource_id: String,
    pub resource_uri: String,
    pub token: String,
    pub expiration: Option<Timestamp>,
    pub type: String,
    pub address: String,
    pub params: HashMap<String, String>,
    pub payload: bool,
}

An notification channel used to watch for resource changes.

Fields

id: String

A UUID or similar unique string that identifies this channel.

resource_id: String

An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.

resource_uri: String

A version-specific identifier for the watched resource.

token: String

An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

expiration: Option<Timestamp>

Date and time of notification channel expiration. Optional.

type: String

The type of delivery mechanism used for this channel.

address: String

The address where notifications are delivered for this channel.

params: HashMap<String, String>

Additional parameters controlling delivery channel behavior. Optional.

payload: bool

A Boolean value to indicate whether payload is wanted. Optional.

Trait Implementations

impl Clone for Channel[src]

impl Debug for Channel[src]

impl Default for Channel[src]

impl Message for Channel[src]

impl PartialEq<Channel> for Channel[src]

impl StructuralPartialEq for Channel[src]

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

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> 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> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]