pub struct BucketInspectorReport {Show 15 fields
pub region: SectionResult<String>,
pub versioning: SectionResult<VersioningStatus>,
pub encryption: SectionResult<EncryptionConfig>,
pub lifecycle: SectionResult<Vec<LifecycleRule>>,
pub object_lock: SectionResult<ObjectLockConfig>,
pub public_access_block: SectionResult<PublicAccessBlockConfig>,
pub cors: SectionResult<Vec<CorsRule>>,
pub tags: SectionResult<HashMap<String, String>>,
pub replication: SectionResult<ReplicationConfig>,
pub logging: SectionResult<LoggingConfig>,
pub website: SectionResult<WebsiteConfig>,
pub notifications: SectionResult<NotificationConfig>,
pub ownership_controls: SectionResult<OwnershipControls>,
pub requester_pays: SectionResult<bool>,
pub bucket_policy: SectionResult<()>,
}Expand description
Aggregated read-only properties of a bucket.
Every section uses SectionResult<T> so the frontend can render
Value, disabled Denied, Unsupported, or Deferred states
without treating capability gaps as errors.
OCP: adding a new section is one new field here + one parallel call in
inspect_bucket. No existing sections change.
Fields§
§region: SectionResult<String>§versioning: SectionResult<VersioningStatus>§encryption: SectionResult<EncryptionConfig>Server-side encryption rules summary. Read-only in v1.
lifecycle: SectionResult<Vec<LifecycleRule>>§object_lock: SectionResult<ObjectLockConfig>§public_access_block: SectionResult<PublicAccessBlockConfig>§cors: SectionResult<Vec<CorsRule>>§replication: SectionResult<ReplicationConfig>§logging: SectionResult<LoggingConfig>§website: SectionResult<WebsiteConfig>§notifications: SectionResult<NotificationConfig>S3 event notification configuration (Lambda, SQS, SNS triggers).
ownership_controls: SectionResult<OwnershipControls>§requester_pays: SectionResult<bool>§bucket_policy: SectionResult<()>Intentionally absent in v1 — bucket policy viewer is a non-goal.
Trait Implementations§
Source§impl Clone for BucketInspectorReport
impl Clone for BucketInspectorReport
Source§fn clone(&self) -> BucketInspectorReport
fn clone(&self) -> BucketInspectorReport
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 BucketInspectorReport
impl Debug for BucketInspectorReport
Source§impl<'de> Deserialize<'de> for BucketInspectorReport
impl<'de> Deserialize<'de> for BucketInspectorReport
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 BucketInspectorReport
impl RefUnwindSafe for BucketInspectorReport
impl Send for BucketInspectorReport
impl Sync for BucketInspectorReport
impl Unpin for BucketInspectorReport
impl UnsafeUnpin for BucketInspectorReport
impl UnwindSafe for BucketInspectorReport
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.