#[non_exhaustive]pub struct CommitPeer {
pub name: String,
pub user: Option<String>,
pub authentication: Option<Secret>,
pub routing_instance: Option<String>,
}Expand description
A peer under system commit peers. The authentication password is read only with the secrets feature.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringHostname or IP address.
user: Option<String>§authentication: Option<Secret>None unless the secrets feature is enabled.
routing_instance: Option<String>Trait Implementations§
Source§impl Clone for CommitPeer
impl Clone for CommitPeer
Source§impl Debug for CommitPeer
impl Debug for CommitPeer
impl Eq for CommitPeer
Source§impl PartialEq for CommitPeer
impl PartialEq for CommitPeer
impl StructuralPartialEq for CommitPeer
Auto Trait Implementations§
impl Forget for CommitPeer
impl Freeze for CommitPeer
impl Move for CommitPeer
impl RefUnwindSafe for CommitPeer
impl Send for CommitPeerwhere
RawVecInner: Send,
impl Sync for CommitPeerwhere
RawVecInner: Sync,
impl Unpin for CommitPeer
impl UnsafeUnpin for CommitPeer
impl UnwindSafe for CommitPeerwhere
RawVecInner: UnwindSafe,
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