Struct kuma_client::docker_host::DockerHost
source · pub struct DockerHost {
pub id: Option<i32>,
pub connection_type: Option<DockerConnectionType>,
pub docker_daemon: Option<String>,
pub user_id: Option<i32>,
}Expand description
Represents a docker host in Uptime Kuma.
Fields§
§id: Option<i32>The unique identifier for the docker host.
connection_type: Option<DockerConnectionType>The connection type.
docker_daemon: Option<String>The docker host. Depending on the connection type, this could be a uri or a path to a socket.
user_id: Option<i32>The user identifier associated with the docker host.
Trait Implementations§
source§impl Clone for DockerHost
impl Clone for DockerHost
source§fn clone(&self) -> DockerHost
fn clone(&self) -> DockerHost
Returns a copy of the value. Read more
1.0.0 · 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 DockerHost
impl Debug for DockerHost
source§impl Default for DockerHost
impl Default for DockerHost
source§fn default() -> DockerHost
fn default() -> DockerHost
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DockerHost
impl<'de> Deserialize<'de> for DockerHost
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 DockerHost
impl PartialEq for DockerHost
source§fn eq(&self, other: &DockerHost) -> bool
fn eq(&self, other: &DockerHost) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DockerHost
impl Serialize for DockerHost
impl Eq for DockerHost
impl StructuralPartialEq for DockerHost
Auto Trait Implementations§
impl Freeze for DockerHost
impl RefUnwindSafe for DockerHost
impl Send for DockerHost
impl Sync for DockerHost
impl Unpin for DockerHost
impl UnwindSafe for DockerHost
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
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.