pub struct SiteReplicationPeer { /* private fields */ }Expand description
Complete editable peer snapshot returned by site-replication/info.
The original object is retained so omitted fields and future server fields survive a read-modify-write edit. Typed accessors are the only supported way to inspect or mutate known fields. Custom debug output never prints the CA or arbitrary field values.
Implementations§
Source§impl SiteReplicationPeer
impl SiteReplicationPeer
pub fn endpoint(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
pub fn sync(&self) -> Option<&str>
pub fn default_bandwidth(&self) -> Option<&Value>
pub fn replicate_ilm_expiry(&self) -> Option<bool>
pub fn object_naming_mode(&self) -> Option<&str>
pub fn skip_tls_verify(&self) -> Option<bool>
pub fn ca_cert_pem(&self) -> Option<&str>
pub fn api_version(&self) -> Option<&str>
pub fn has_custom_ca(&self) -> bool
pub fn set_endpoint(&mut self, endpoint: String)
pub fn set_name(&mut self, name: String)
pub fn set_skip_tls_verify(&mut self, skip_tls_verify: bool)
pub fn set_ca_cert_pem(&mut self, ca_cert_pem: String)
Trait Implementations§
Source§impl Clone for SiteReplicationPeer
impl Clone for SiteReplicationPeer
Source§fn clone(&self) -> SiteReplicationPeer
fn clone(&self) -> SiteReplicationPeer
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 Debug for SiteReplicationPeer
impl Debug for SiteReplicationPeer
Source§impl Default for SiteReplicationPeer
impl Default for SiteReplicationPeer
Source§fn default() -> SiteReplicationPeer
fn default() -> SiteReplicationPeer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SiteReplicationPeer
impl<'de> Deserialize<'de> for SiteReplicationPeer
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 PartialEq for SiteReplicationPeer
impl PartialEq for SiteReplicationPeer
Source§impl Serialize for SiteReplicationPeer
impl Serialize for SiteReplicationPeer
impl StructuralPartialEq for SiteReplicationPeer
Auto Trait Implementations§
impl Freeze for SiteReplicationPeer
impl RefUnwindSafe for SiteReplicationPeer
impl Send for SiteReplicationPeer
impl Sync for SiteReplicationPeer
impl Unpin for SiteReplicationPeer
impl UnsafeUnpin for SiteReplicationPeer
impl UnwindSafe for SiteReplicationPeer
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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