#[non_exhaustive]pub struct OutboundSshClient {
pub id: String,
pub device_id: Option<String>,
pub servers: Vec<OutboundSshServer>,
pub services: Vec<String>,
pub reconnect_strategy: Option<String>,
pub routing_instance: Option<String>,
}Expand description
An outbound-ssh client <id>. The secret is not extracted.
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.id: String§device_id: Option<String>§servers: Vec<OutboundSshServer>§services: Vec<String>e.g. "netconf".
reconnect_strategy: Option<String>in-order or sticky.
routing_instance: Option<String>Trait Implementations§
Source§impl Clone for OutboundSshClient
impl Clone for OutboundSshClient
Source§impl Debug for OutboundSshClient
impl Debug for OutboundSshClient
impl Eq for OutboundSshClient
Source§impl PartialEq for OutboundSshClient
impl PartialEq for OutboundSshClient
impl StructuralPartialEq for OutboundSshClient
Auto Trait Implementations§
impl Forget for OutboundSshClient
impl Freeze for OutboundSshClientwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<OutboundSshServer>: Freeze,
PhantomData<String>: Freeze,
impl Move for OutboundSshClient
impl RefUnwindSafe for OutboundSshClient
impl Send for OutboundSshClientwhere
RawVecInner: Send,
impl Sync for OutboundSshClientwhere
RawVecInner: Sync,
impl Unpin for OutboundSshClient
impl UnsafeUnpin for OutboundSshClientwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OutboundSshServer>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OutboundSshClientwhere
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