Enum google_api_proto::google::cloud::clouddms::logging::v1::logged_connection_profile::ConnectionProfile
source · pub enum ConnectionProfile {
Mysql(MySqlConnectionProfile),
Postgresql(PostgreSqlConnectionProfile),
Cloudsql(CloudSqlConnectionProfile),
Oracle(OracleConnectionProfile),
}
Expand description
The connection profile definition
Variants§
Mysql(MySqlConnectionProfile)
A MySQL database connection profile.
Postgresql(PostgreSqlConnectionProfile)
A PostgreSQL database connection profile.
Cloudsql(CloudSqlConnectionProfile)
A CloudSQL database connection profile.
Oracle(OracleConnectionProfile)
An Oracle database connection profile.
Implementations§
source§impl ConnectionProfile
impl ConnectionProfile
sourcepub fn merge(
field: &mut Option<ConnectionProfile>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ConnectionProfile>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for ConnectionProfile
impl Clone for ConnectionProfile
source§fn clone(&self) -> ConnectionProfile
fn clone(&self) -> ConnectionProfile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectionProfile
impl Debug for ConnectionProfile
source§impl PartialEq for ConnectionProfile
impl PartialEq for ConnectionProfile
source§fn eq(&self, other: &ConnectionProfile) -> bool
fn eq(&self, other: &ConnectionProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionProfile
Auto Trait Implementations§
impl Freeze for ConnectionProfile
impl RefUnwindSafe for ConnectionProfile
impl Send for ConnectionProfile
impl Sync for ConnectionProfile
impl Unpin for ConnectionProfile
impl UnwindSafe for ConnectionProfile
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request