#[non_exhaustive]pub struct SourceObjectIdentifier {
pub source_identifier: Option<SourceIdentifier>,
/* private fields */
}
Expand description
Represents an identifier of an object in the data source.
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.source_identifier: Option<SourceIdentifier>
The identifier for an object in the data source.
Implementations§
Source§impl SourceObjectIdentifier
impl SourceObjectIdentifier
pub fn new() -> Self
Sourcepub fn set_source_identifier<T: Into<Option<SourceIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_source_identifier<T: Into<Option<SourceIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier.
Note that all the setters affecting source_identifier
are mutually
exclusive.
Sourcepub fn oracle_identifier(&self) -> Option<&Box<OracleObjectIdentifier>>
pub fn oracle_identifier(&self) -> Option<&Box<OracleObjectIdentifier>>
The value of source_identifier
if it holds a OracleIdentifier
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_oracle_identifier<T: Into<Box<OracleObjectIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_oracle_identifier<T: Into<Box<OracleObjectIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier
to hold a OracleIdentifier
.
Note that all the setters affecting source_identifier
are
mutually exclusive.
Sourcepub fn mysql_identifier(&self) -> Option<&Box<MysqlObjectIdentifier>>
pub fn mysql_identifier(&self) -> Option<&Box<MysqlObjectIdentifier>>
The value of source_identifier
if it holds a MysqlIdentifier
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_mysql_identifier<T: Into<Box<MysqlObjectIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_mysql_identifier<T: Into<Box<MysqlObjectIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier
to hold a MysqlIdentifier
.
Note that all the setters affecting source_identifier
are
mutually exclusive.
Sourcepub fn postgresql_identifier(&self) -> Option<&Box<PostgresqlObjectIdentifier>>
pub fn postgresql_identifier(&self) -> Option<&Box<PostgresqlObjectIdentifier>>
The value of source_identifier
if it holds a PostgresqlIdentifier
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_postgresql_identifier<T: Into<Box<PostgresqlObjectIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_postgresql_identifier<T: Into<Box<PostgresqlObjectIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier
to hold a PostgresqlIdentifier
.
Note that all the setters affecting source_identifier
are
mutually exclusive.
Sourcepub fn sql_server_identifier(&self) -> Option<&Box<SqlServerObjectIdentifier>>
pub fn sql_server_identifier(&self) -> Option<&Box<SqlServerObjectIdentifier>>
The value of source_identifier
if it holds a SqlServerIdentifier
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_sql_server_identifier<T: Into<Box<SqlServerObjectIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_sql_server_identifier<T: Into<Box<SqlServerObjectIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier
to hold a SqlServerIdentifier
.
Note that all the setters affecting source_identifier
are
mutually exclusive.
Sourcepub fn salesforce_identifier(&self) -> Option<&Box<SalesforceObjectIdentifier>>
pub fn salesforce_identifier(&self) -> Option<&Box<SalesforceObjectIdentifier>>
The value of source_identifier
if it holds a SalesforceIdentifier
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_salesforce_identifier<T: Into<Box<SalesforceObjectIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_salesforce_identifier<T: Into<Box<SalesforceObjectIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier
to hold a SalesforceIdentifier
.
Note that all the setters affecting source_identifier
are
mutually exclusive.
Sourcepub fn mongodb_identifier(&self) -> Option<&Box<MongodbObjectIdentifier>>
pub fn mongodb_identifier(&self) -> Option<&Box<MongodbObjectIdentifier>>
The value of source_identifier
if it holds a MongodbIdentifier
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_mongodb_identifier<T: Into<Box<MongodbObjectIdentifier>>>(
self,
v: T,
) -> Self
pub fn set_mongodb_identifier<T: Into<Box<MongodbObjectIdentifier>>>( self, v: T, ) -> Self
Sets the value of source_identifier
to hold a MongodbIdentifier
.
Note that all the setters affecting source_identifier
are
mutually exclusive.
Trait Implementations§
Source§impl Clone for SourceObjectIdentifier
impl Clone for SourceObjectIdentifier
Source§fn clone(&self) -> SourceObjectIdentifier
fn clone(&self) -> SourceObjectIdentifier
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more