#[non_exhaustive]pub struct DiscoverConnectionProfileResponse {
pub data_object: Option<DataObject>,
/* private fields */
}Expand description
Response from a discover request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_object: Option<DataObject>The data object that has been enriched by the discover API call.
Implementations§
Source§impl DiscoverConnectionProfileResponse
impl DiscoverConnectionProfileResponse
pub fn new() -> Self
Sourcepub fn set_data_object<T: Into<Option<DataObject>>>(self, v: T) -> Self
pub fn set_data_object<T: Into<Option<DataObject>>>(self, v: T) -> Self
Sets the value of data_object.
Note that all the setters affecting data_object are mutually
exclusive.
Sourcepub fn oracle_rdbms(&self) -> Option<&Box<OracleRdbms>>
pub fn oracle_rdbms(&self) -> Option<&Box<OracleRdbms>>
The value of data_object
if it holds a OracleRdbms, None if the field is not set or
holds a different branch.
Sourcepub fn set_oracle_rdbms<T: Into<Box<OracleRdbms>>>(self, v: T) -> Self
pub fn set_oracle_rdbms<T: Into<Box<OracleRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a OracleRdbms.
Note that all the setters affecting data_object are
mutually exclusive.
Sourcepub fn mysql_rdbms(&self) -> Option<&Box<MysqlRdbms>>
pub fn mysql_rdbms(&self) -> Option<&Box<MysqlRdbms>>
The value of data_object
if it holds a MysqlRdbms, None if the field is not set or
holds a different branch.
Sourcepub fn set_mysql_rdbms<T: Into<Box<MysqlRdbms>>>(self, v: T) -> Self
pub fn set_mysql_rdbms<T: Into<Box<MysqlRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a MysqlRdbms.
Note that all the setters affecting data_object are
mutually exclusive.
Sourcepub fn postgresql_rdbms(&self) -> Option<&Box<PostgresqlRdbms>>
pub fn postgresql_rdbms(&self) -> Option<&Box<PostgresqlRdbms>>
The value of data_object
if it holds a PostgresqlRdbms, None if the field is not set or
holds a different branch.
Sourcepub fn set_postgresql_rdbms<T: Into<Box<PostgresqlRdbms>>>(self, v: T) -> Self
pub fn set_postgresql_rdbms<T: Into<Box<PostgresqlRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a PostgresqlRdbms.
Note that all the setters affecting data_object are
mutually exclusive.
Sourcepub fn sql_server_rdbms(&self) -> Option<&Box<SqlServerRdbms>>
pub fn sql_server_rdbms(&self) -> Option<&Box<SqlServerRdbms>>
The value of data_object
if it holds a SqlServerRdbms, None if the field is not set or
holds a different branch.
Sourcepub fn set_sql_server_rdbms<T: Into<Box<SqlServerRdbms>>>(self, v: T) -> Self
pub fn set_sql_server_rdbms<T: Into<Box<SqlServerRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a SqlServerRdbms.
Note that all the setters affecting data_object are
mutually exclusive.
Trait Implementations§
Source§impl Clone for DiscoverConnectionProfileResponse
impl Clone for DiscoverConnectionProfileResponse
Source§fn clone(&self) -> DiscoverConnectionProfileResponse
fn clone(&self) -> DiscoverConnectionProfileResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for DiscoverConnectionProfileResponse
impl Default for DiscoverConnectionProfileResponse
Source§fn default() -> DiscoverConnectionProfileResponse
fn default() -> DiscoverConnectionProfileResponse
Source§impl PartialEq for DiscoverConnectionProfileResponse
impl PartialEq for DiscoverConnectionProfileResponse
Source§fn eq(&self, other: &DiscoverConnectionProfileResponse) -> bool
fn eq(&self, other: &DiscoverConnectionProfileResponse) -> bool
self and other values to be equal, and is used by ==.