Struct google_api_proto::google::cloud::channel::v1::ChannelPartnerLink
source · pub struct ChannelPartnerLink {
pub name: String,
pub reseller_cloud_identity_id: String,
pub link_state: i32,
pub invite_link_uri: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub public_id: String,
pub channel_partner_cloud_identity_info: Option<CloudIdentityInfo>,
}
Expand description
Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.
Fields§
§name: String
Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.
reseller_cloud_identity_id: String
Required. Cloud Identity ID of the linked reseller.
link_state: i32
Required. State of the channel partner link.
invite_link_uri: String
Output only. URI of the web page where partner accepts the link invitation.
create_time: Option<Timestamp>
Output only. Timestamp of when the channel partner link is created.
update_time: Option<Timestamp>
Output only. Timestamp of when the channel partner link is updated.
public_id: String
Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
channel_partner_cloud_identity_info: Option<CloudIdentityInfo>
Output only. Cloud Identity info of the channel partner (IR).
Implementations§
source§impl ChannelPartnerLink
impl ChannelPartnerLink
sourcepub fn link_state(&self) -> ChannelPartnerLinkState
pub fn link_state(&self) -> ChannelPartnerLinkState
Returns the enum value of link_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_link_state(&mut self, value: ChannelPartnerLinkState)
pub fn set_link_state(&mut self, value: ChannelPartnerLinkState)
Sets link_state
to the provided enum value.
Trait Implementations§
source§impl Clone for ChannelPartnerLink
impl Clone for ChannelPartnerLink
source§fn clone(&self) -> ChannelPartnerLink
fn clone(&self) -> ChannelPartnerLink
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelPartnerLink
impl Debug for ChannelPartnerLink
source§impl Default for ChannelPartnerLink
impl Default for ChannelPartnerLink
source§impl Message for ChannelPartnerLink
impl Message for ChannelPartnerLink
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ChannelPartnerLink
impl PartialEq for ChannelPartnerLink
source§fn eq(&self, other: &ChannelPartnerLink) -> bool
fn eq(&self, other: &ChannelPartnerLink) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelPartnerLink
Auto Trait Implementations§
impl Freeze for ChannelPartnerLink
impl RefUnwindSafe for ChannelPartnerLink
impl Send for ChannelPartnerLink
impl Sync for ChannelPartnerLink
impl Unpin for ChannelPartnerLink
impl UnwindSafe for ChannelPartnerLink
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request