pub struct ChannelConnection {
pub activation_token: Option<String>,
pub channel: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A representation of the ChannelConnection resource. A ChannelConnection is a resource which event providers create during the activation process to establish a connection between the provider and the subscriber channel.
§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).
- locations channel connections create projects (request)
- locations channel connections get projects (response)
Fields§
§activation_token: Option<String>Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
channel: Option<String>Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id} format.
create_time: Option<DateTime<Utc>>Output only. The creation time.
name: Option<String>Required. The name of the connection.
uid: Option<String>Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
update_time: Option<DateTime<Utc>>Output only. The last-modified time.
Trait Implementations§
Source§impl Clone for ChannelConnection
impl Clone for ChannelConnection
Source§fn clone(&self) -> ChannelConnection
fn clone(&self) -> ChannelConnection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChannelConnection
impl Debug for ChannelConnection
Source§impl Default for ChannelConnection
impl Default for ChannelConnection
Source§fn default() -> ChannelConnection
fn default() -> ChannelConnection
Source§impl<'de> Deserialize<'de> for ChannelConnection
impl<'de> Deserialize<'de> for ChannelConnection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ChannelConnection
impl Serialize for ChannelConnection
impl RequestValue for ChannelConnection
impl ResponseResult for ChannelConnection
Auto Trait Implementations§
impl Freeze for ChannelConnection
impl RefUnwindSafe for ChannelConnection
impl Send for ChannelConnection
impl Sync for ChannelConnection
impl Unpin for ChannelConnection
impl UnwindSafe for ChannelConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more