pub struct MonitoringGetSinkResponseSinkDestinationConfigCredentials {
pub password: Option<String>,
pub username: Option<String>,
}Expand description
Credentials for an OpenSearch cluster user. Optional if cluster_uuid is passed.
JSON schema
{
"description": "Credentials for an OpenSearch cluster user. Optional if `cluster_uuid` is passed.",
"type": "object",
"properties": {
"password": {
"examples": [
"password"
],
"type": "string"
},
"username": {
"examples": [
"username"
],
"type": "string"
}
}
}Fields§
§password: Option<String>§username: Option<String>Trait Implementations§
Source§impl Clone for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl Clone for MonitoringGetSinkResponseSinkDestinationConfigCredentials
Source§fn clone(&self) -> MonitoringGetSinkResponseSinkDestinationConfigCredentials
fn clone(&self) -> MonitoringGetSinkResponseSinkDestinationConfigCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl<'de> Deserialize<'de> for MonitoringGetSinkResponseSinkDestinationConfigCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&MonitoringGetSinkResponseSinkDestinationConfigCredentials> for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl From<&MonitoringGetSinkResponseSinkDestinationConfigCredentials> for MonitoringGetSinkResponseSinkDestinationConfigCredentials
Source§fn from(
value: &MonitoringGetSinkResponseSinkDestinationConfigCredentials,
) -> Self
fn from( value: &MonitoringGetSinkResponseSinkDestinationConfigCredentials, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl RefUnwindSafe for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl Send for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl Sync for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl Unpin for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl UnsafeUnpin for MonitoringGetSinkResponseSinkDestinationConfigCredentials
impl UnwindSafe for MonitoringGetSinkResponseSinkDestinationConfigCredentials
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