pub struct PrivateConnection {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: HashMap<String, String>,
pub display_name: String,
pub state: i32,
pub error: Option<Error>,
pub satisfies_pzs: Option<bool>,
pub satisfies_pzi: Option<bool>,
pub vpc_peering_config: Option<VpcPeeringConfig>,
pub psc_interface_config: Option<PscInterfaceConfig>,
}Expand description
The PrivateConnection resource is used to establish private connectivity between Datastream and a customer’s network.
Fields§
§name: StringOutput only. Identifier. The resource’s name.
create_time: Option<Timestamp>Output only. The create time of the resource.
update_time: Option<Timestamp>Output only. The update time of the resource.
labels: HashMap<String, String>Labels.
display_name: StringRequired. Display name.
state: i32Output only. The state of the Private Connection.
error: Option<Error>Output only. In case of error, the details of the error in a user-friendly format.
satisfies_pzs: Option<bool>Output only. Reserved for future use.
satisfies_pzi: Option<bool>Output only. Reserved for future use.
vpc_peering_config: Option<VpcPeeringConfig>VPC Peering Config.
psc_interface_config: Option<PscInterfaceConfig>PSC Interface Config.
Implementations§
Source§impl PrivateConnection
impl PrivateConnection
Sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state, or the default if the field is set to an invalid enum value.
Sourcepub fn satisfies_pzs(&self) -> bool
pub fn satisfies_pzs(&self) -> bool
Returns the value of satisfies_pzs, or the default value if satisfies_pzs is unset.
Sourcepub fn satisfies_pzi(&self) -> bool
pub fn satisfies_pzi(&self) -> bool
Returns the value of satisfies_pzi, or the default value if satisfies_pzi is unset.
Trait Implementations§
Source§impl Clone for PrivateConnection
impl Clone for PrivateConnection
Source§fn clone(&self) -> PrivateConnection
fn clone(&self) -> PrivateConnection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PrivateConnection
impl Debug for PrivateConnection
Source§impl Default for PrivateConnection
impl Default for PrivateConnection
Source§fn default() -> PrivateConnection
fn default() -> PrivateConnection
Source§impl Message for PrivateConnection
impl Message for PrivateConnection
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 PrivateConnection
impl PartialEq for PrivateConnection
impl StructuralPartialEq for PrivateConnection
Auto Trait Implementations§
impl Freeze for PrivateConnection
impl RefUnwindSafe for PrivateConnection
impl Send for PrivateConnection
impl Sync for PrivateConnection
impl Unpin for PrivateConnection
impl UnwindSafe for PrivateConnection
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> 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