pub struct ServerRecord {
pub name: String,
pub address: String,
pub port: u16,
pub ssh: String,
pub ssh_port: u16,
pub added_at: u64,
pub fingerprint: String,
pub cert_not_after: Option<u64>,
pub isb_version: String,
pub allow_from: Vec<String>,
pub vm: Option<VmRecord>,
}Expand description
One server the control plane places orgs on.
Fields§
§name: String§address: StringWhat the control plane dials (and the agent certificate’s SAN).
port: u16The agent’s mTLS port.
ssh: Stringuser@host it was bootstrapped through (the key is never kept).
ssh_port: u16§added_at: u64Unix seconds.
fingerprint: StringSHA-256 of the agent’s current certificate.
cert_not_after: Option<u64>When that certificate expires (unix seconds), if known.
isb_version: StringThe isb version installed at bootstrap.
allow_from: Vec<String>Who the agent’s firewall lets reach its port (empty: not managed).
vm: Option<VmRecord>Set when this control plane made the server itself: a dedicated VM on its own host for one org.
Trait Implementations§
Source§impl Clone for ServerRecord
impl Clone for ServerRecord
Source§impl Debug for ServerRecord
impl Debug for ServerRecord
Source§impl<'de> Deserialize<'de> for ServerRecord
impl<'de> Deserialize<'de> for ServerRecord
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
impl Eq for ServerRecord
Source§impl PartialEq for ServerRecord
impl PartialEq for ServerRecord
Source§impl Serialize for ServerRecord
impl Serialize for ServerRecord
impl StructuralPartialEq for ServerRecord
Auto Trait Implementations§
impl Freeze for ServerRecord
impl RefUnwindSafe for ServerRecord
impl Send for ServerRecord
impl Sync for ServerRecord
impl Unpin for ServerRecord
impl UnsafeUnpin for ServerRecord
impl UnwindSafe for ServerRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.