Struct gapi_grpc::google::cloud::clouddms::logging::v1::LoggedConnectionProfile[][src]

pub struct LoggedConnectionProfile {
    pub name: String,
    pub labels: HashMap<String, String>,
    pub state: i32,
    pub display_name: String,
    pub error: Option<Status>,
    pub provider: i32,
    pub connection_profile: Option<ConnectionProfile>,
}

An producer connection profile definition. NEXT_TAG = 18.

Fields

name: String

The unique identifier for a connection profile.

labels: HashMap<String, String>

Labels.

state: i32

The current connection profile state.

display_name: String

The display name.

error: Option<Status>

The error details in case of state FAILED.

provider: i32

The database provider.

connection_profile: Option<ConnectionProfile>

The connection profile definition

Implementations

impl LoggedConnectionProfile[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn provider(&self) -> DatabaseProvider[src]

Returns the enum value of provider, or the default if the field is set to an invalid enum value.

pub fn set_provider(&mut self, value: DatabaseProvider)[src]

Sets provider to the provided enum value.

Trait Implementations

impl Clone for LoggedConnectionProfile[src]

impl Debug for LoggedConnectionProfile[src]

impl Default for LoggedConnectionProfile[src]

impl Message for LoggedConnectionProfile[src]

impl PartialEq<LoggedConnectionProfile> for LoggedConnectionProfile[src]

impl StructuralPartialEq for LoggedConnectionProfile[src]

Auto Trait Implementations

impl RefUnwindSafe for LoggedConnectionProfile

impl Send for LoggedConnectionProfile

impl Sync for LoggedConnectionProfile

impl Unpin for LoggedConnectionProfile

impl UnwindSafe for LoggedConnectionProfile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]