pub struct ClientOptions {
pub hostname: String,
pub username: String,
pub description: String,
pub enable_actions: bool,
}Expand description
Client identity options reported by kopia repository status.
Fields§
§hostname: StringThe configured hostname for this client.
username: StringThe configured username for this client.
description: StringHuman-readable repository description.
enable_actions: boolWhether snapshot actions are enabled.
Trait Implementations§
Source§impl Clone for ClientOptions
impl Clone for ClientOptions
Source§fn clone(&self) -> ClientOptions
fn clone(&self) -> ClientOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientOptions
impl Debug for ClientOptions
Source§impl<'de> Deserialize<'de> for ClientOptions
impl<'de> Deserialize<'de> for ClientOptions
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 ClientOptions
impl PartialEq for ClientOptions
Source§fn eq(&self, other: &ClientOptions) -> bool
fn eq(&self, other: &ClientOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClientOptions
impl Serialize for ClientOptions
impl StructuralPartialEq for ClientOptions
Auto Trait Implementations§
impl Freeze for ClientOptions
impl RefUnwindSafe for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnsafeUnpin for ClientOptions
impl UnwindSafe for ClientOptions
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