pub struct Destination {
pub name: String,
pub endpoint: String,
pub region: String,
pub bucket: String,
pub prefix: String,
pub path_style: bool,
pub access_key_secret: String,
pub secret_key_secret: String,
pub allow_local: bool,
pub created_at: u64,
}Expand description
An S3-compatible bucket backups go to.
Fields§
§name: String§endpoint: Stringhttps://s3.eu-central-1.amazonaws.com, https://<account>.r2.cloudflarestorage.com,
http://minio.internal:9000.
region: String§bucket: String§prefix: StringKeys start with it (isb/backups).
path_style: boolendpoint/bucket/key (MinIO, most self-hosted stores) rather than
bucket.endpoint/key.
access_key_secret: StringOrg secrets holding the key pair.
secret_key_secret: String§allow_local: boolLoopback endpoints are refused unless the destination was made by the local CLI or a platform admin.
created_at: u64Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
Source§impl Debug for Destination
impl Debug for Destination
Source§impl<'de> Deserialize<'de> for Destination
impl<'de> Deserialize<'de> for Destination
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 Destination
Source§impl PartialEq for Destination
impl PartialEq for Destination
Source§impl Serialize for Destination
impl Serialize for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnsafeUnpin for Destination
impl UnwindSafe for Destination
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.