pub struct InterconnectAttachmentPartnerMetadata {
pub interconnect_name: Option<String>,
pub partner_name: Option<String>,
pub portal_url: Option<String>,
}
Expand description
Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments.
Fields§
§interconnect_name: Option<String>
Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner’s portal. For instance “Chicago 1”. This value may be validated to match approved Partner values.
partner_name: Option<String>
Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.
portal_url: Option<String>
URL of the Partner’s portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.
Implementations§
source§impl InterconnectAttachmentPartnerMetadata
impl InterconnectAttachmentPartnerMetadata
sourcepub fn partner_name(&self) -> &str
pub fn partner_name(&self) -> &str
Returns the value of partner_name
, or the default value if partner_name
is unset.
sourcepub fn portal_url(&self) -> &str
pub fn portal_url(&self) -> &str
Returns the value of portal_url
, or the default value if portal_url
is unset.
sourcepub fn interconnect_name(&self) -> &str
pub fn interconnect_name(&self) -> &str
Returns the value of interconnect_name
, or the default value if interconnect_name
is unset.
Trait Implementations§
source§impl Clone for InterconnectAttachmentPartnerMetadata
impl Clone for InterconnectAttachmentPartnerMetadata
source§fn clone(&self) -> InterconnectAttachmentPartnerMetadata
fn clone(&self) -> InterconnectAttachmentPartnerMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for InterconnectAttachmentPartnerMetadata
impl Message for InterconnectAttachmentPartnerMetadata
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 InterconnectAttachmentPartnerMetadata
impl PartialEq for InterconnectAttachmentPartnerMetadata
source§fn eq(&self, other: &InterconnectAttachmentPartnerMetadata) -> bool
fn eq(&self, other: &InterconnectAttachmentPartnerMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterconnectAttachmentPartnerMetadata
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentPartnerMetadata
impl RefUnwindSafe for InterconnectAttachmentPartnerMetadata
impl Send for InterconnectAttachmentPartnerMetadata
impl Sync for InterconnectAttachmentPartnerMetadata
impl Unpin for InterconnectAttachmentPartnerMetadata
impl UnwindSafe for InterconnectAttachmentPartnerMetadata
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