pub struct SignstarHost {
host: String,
port: u16,
known_hosts: Vec<Entry>,
}Expand description
The connection to a Signstar system a specific user can use.
Fields§
§host: StringThe host name of the Signstar system.
port: u16The SSH port of the Signstar system.
known_hosts: Vec<Entry>The known_hosts entries for the Signstar system.
Trait Implementations§
Source§impl Debug for SignstarHost
impl Debug for SignstarHost
Source§impl<'de> Deserialize<'de> for SignstarHost
impl<'de> Deserialize<'de> for SignstarHost
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 Validate for SignstarHost
impl Validate for SignstarHost
Source§fn validate_into(
&self,
__garde_user_ctx: &Self::Context,
__garde_path: &mut dyn FnMut() -> Path,
__garde_report: &mut Report,
)
fn validate_into( &self, __garde_user_ctx: &Self::Context, __garde_path: &mut dyn FnMut() -> Path, __garde_report: &mut Report, )
Validates
Self, aggregating all validation errors into Report.§fn validate(&self) -> Result<(), Report>where
Self::Context: Default,
fn validate(&self) -> Result<(), Report>where
Self::Context: Default,
Validates
Self, returning an Err with an aggregate of all errors if
the validation failed. Read more§fn validate_with(&self, ctx: &Self::Context) -> Result<(), Report>
fn validate_with(&self, ctx: &Self::Context) -> Result<(), Report>
Validates
Self, returning an Err with an aggregate of all errors if
the validation failed. Read moreAuto Trait Implementations§
impl Freeze for SignstarHost
impl RefUnwindSafe for SignstarHost
impl Send for SignstarHost
impl Sync for SignstarHost
impl Unpin for SignstarHost
impl UnsafeUnpin for SignstarHost
impl UnwindSafe for SignstarHost
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