pub struct BucketSummary {
pub name: String,
pub creation_date: Option<i64>,
pub region: Option<String>,
pub profile_id: ProfileId,
}Expand description
Lightweight bucket view returned over the Tauri IPC boundary.
OCP: adding tags, labels, or access_point is backward-compatible
because serde skips unknown fields by default on both sides.
Fields§
§name: StringBucket name as returned by S3.
creation_date: Option<i64>Unix timestamp (milliseconds) of bucket creation, if available.
region: Option<String>AWS region discovered via GetBucketLocation, if already known.
None means background discovery has not finished yet.
profile_id: ProfileIdThe profile this bucket belongs to.
Trait Implementations§
Source§impl Clone for BucketSummary
impl Clone for BucketSummary
Source§fn clone(&self) -> BucketSummary
fn clone(&self) -> BucketSummary
Returns a duplicate 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 BucketSummary
impl Debug for BucketSummary
Source§impl<'de> Deserialize<'de> for BucketSummary
impl<'de> Deserialize<'de> for BucketSummary
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 Freeze for BucketSummary
impl RefUnwindSafe for BucketSummary
impl Send for BucketSummary
impl Sync for BucketSummary
impl Unpin for BucketSummary
impl UnsafeUnpin for BucketSummary
impl UnwindSafe for BucketSummary
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.