pub struct BackupTarget {
pub access_key: Option<String>,
pub bucket_name: Option<String>,
pub path: Option<String>,
pub protocol: Option<String>,
pub secret_key: Option<String>,
pub url: Option<String>,
}Fields§
§access_key: Option<String>AccessKey is the S3 API access key
bucket_name: Option<String>BucketName is the name of the S3 bucket.
path: Option<String>Path is the target path.
protocol: Option<String>Protocol is the upload protocol.
secret_key: Option<String>SecretKey is the S3 API access key
url: Option<String>URL is the HTTPS URL for the backup
Implementations§
Source§impl BackupTarget
impl BackupTarget
pub fn new() -> BackupTarget
Trait Implementations§
Source§impl Clone for BackupTarget
impl Clone for BackupTarget
Source§fn clone(&self) -> BackupTarget
fn clone(&self) -> BackupTarget
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 BackupTarget
impl Debug for BackupTarget
Source§impl Default for BackupTarget
impl Default for BackupTarget
Source§fn default() -> BackupTarget
fn default() -> BackupTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackupTarget
impl<'de> Deserialize<'de> for BackupTarget
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 BackupTarget
impl PartialEq for BackupTarget
Source§fn eq(&self, other: &BackupTarget) -> bool
fn eq(&self, other: &BackupTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BackupTarget
impl Serialize for BackupTarget
impl StructuralPartialEq for BackupTarget
Auto Trait Implementations§
impl Freeze for BackupTarget
impl RefUnwindSafe for BackupTarget
impl Send for BackupTarget
impl Sync for BackupTarget
impl Unpin for BackupTarget
impl UnsafeUnpin for BackupTarget
impl UnwindSafe for BackupTarget
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