Struct borgbackup::common::ListOptions
source · pub struct ListOptions {
pub repository: String,
pub passphrase: Option<String>,
}
Expand description
The options for the crate::sync::list command
Fields§
§repository: String
Path to the repository
Example values:
/tmp/foo
user@example.com:/opt/repo
ssh://user@example.com:2323:/opt/repo
passphrase: Option<String>
The passphrase for the repository
If using a repository with EncryptionMode::None, you can leave this option empty
Trait Implementations§
source§impl Clone for ListOptions
impl Clone for ListOptions
source§fn clone(&self) -> ListOptions
fn clone(&self) -> ListOptions
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 ListOptions
impl Debug for ListOptions
source§impl<'de> Deserialize<'de> for ListOptions
impl<'de> Deserialize<'de> for ListOptions
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
Auto Trait Implementations§
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnwindSafe for ListOptions
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