pub struct AwsS3StorageHeartbeatData {Show 17 fields
pub block_public_acls: Option<bool>,
pub block_public_policy: Option<bool>,
pub bucket_acl_present: Option<bool>,
pub bucket_location: Option<String>,
pub bucket_policy_present: Option<bool>,
pub encryption_config_present: bool,
pub encryption_enabled: Option<bool>,
pub ignore_public_acls: Option<bool>,
pub lifecycle_present: bool,
pub lifecycle_rule_count: Option<i64>,
pub name: String,
pub public_access_block_present: bool,
pub region: Option<String>,
pub restrict_public_buckets: Option<bool>,
pub status: StorageHeartbeatStatus,
pub versioning_enabled: Option<bool>,
pub versioning_status: Option<String>,
}Expand description
AwsS3StorageHeartbeatData
JSON schema
{
"type": "object",
"required": [
"encryptionConfigPresent",
"lifecyclePresent",
"name",
"publicAccessBlockPresent",
"status"
],
"properties": {
"blockPublicAcls": {
"type": [
"boolean",
"null"
]
},
"blockPublicPolicy": {
"type": [
"boolean",
"null"
]
},
"bucketAclPresent": {
"type": [
"boolean",
"null"
]
},
"bucketLocation": {
"type": [
"string",
"null"
]
},
"bucketPolicyPresent": {
"type": [
"boolean",
"null"
]
},
"encryptionConfigPresent": {
"type": "boolean"
},
"encryptionEnabled": {
"type": [
"boolean",
"null"
]
},
"ignorePublicAcls": {
"type": [
"boolean",
"null"
]
},
"lifecyclePresent": {
"type": "boolean"
},
"lifecycleRuleCount": {
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
},
"name": {
"type": "string"
},
"publicAccessBlockPresent": {
"type": "boolean"
},
"region": {
"type": [
"string",
"null"
]
},
"restrictPublicBuckets": {
"type": [
"boolean",
"null"
]
},
"status": {
"$ref": "#/components/schemas/StorageHeartbeatStatus"
},
"versioningEnabled": {
"type": [
"boolean",
"null"
]
},
"versioningStatus": {
"type": [
"string",
"null"
]
}
}
}Fields§
§block_public_acls: Option<bool>§block_public_policy: Option<bool>§bucket_acl_present: Option<bool>§bucket_location: Option<String>§bucket_policy_present: Option<bool>§encryption_config_present: bool§encryption_enabled: Option<bool>§ignore_public_acls: Option<bool>§lifecycle_present: bool§lifecycle_rule_count: Option<i64>§name: String§public_access_block_present: bool§region: Option<String>§restrict_public_buckets: Option<bool>§status: StorageHeartbeatStatus§versioning_enabled: Option<bool>§versioning_status: Option<String>Implementations§
Source§impl AwsS3StorageHeartbeatData
impl AwsS3StorageHeartbeatData
pub fn builder() -> AwsS3StorageHeartbeatData
Trait Implementations§
Source§impl Clone for AwsS3StorageHeartbeatData
impl Clone for AwsS3StorageHeartbeatData
Source§fn clone(&self) -> AwsS3StorageHeartbeatData
fn clone(&self) -> AwsS3StorageHeartbeatData
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 AwsS3StorageHeartbeatData
impl Debug for AwsS3StorageHeartbeatData
Source§impl<'de> Deserialize<'de> for AwsS3StorageHeartbeatData
impl<'de> Deserialize<'de> for AwsS3StorageHeartbeatData
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 From<&AwsS3StorageHeartbeatData> for AwsS3StorageHeartbeatData
impl From<&AwsS3StorageHeartbeatData> for AwsS3StorageHeartbeatData
Source§fn from(value: &AwsS3StorageHeartbeatData) -> Self
fn from(value: &AwsS3StorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AwsS3StorageHeartbeatData> for AwsS3StorageHeartbeatData
impl From<AwsS3StorageHeartbeatData> for AwsS3StorageHeartbeatData
Source§fn from(value: AwsS3StorageHeartbeatData) -> Self
fn from(value: AwsS3StorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AwsS3StorageHeartbeatData> for AwsS3StorageHeartbeatData
impl TryFrom<AwsS3StorageHeartbeatData> for AwsS3StorageHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AwsS3StorageHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: AwsS3StorageHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AwsS3StorageHeartbeatData
impl RefUnwindSafe for AwsS3StorageHeartbeatData
impl Send for AwsS3StorageHeartbeatData
impl Sync for AwsS3StorageHeartbeatData
impl Unpin for AwsS3StorageHeartbeatData
impl UnsafeUnpin for AwsS3StorageHeartbeatData
impl UnwindSafe for AwsS3StorageHeartbeatData
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