pub struct DescribeLedgerResponse {
pub arn: Option<String>,
pub creation_date_time: Option<f64>,
pub deletion_protection: Option<bool>,
pub name: Option<String>,
pub state: Option<String>,
}Fields§
§arn: Option<String>The Amazon Resource Name (ARN) for the ledger.
creation_date_time: Option<f64>The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
deletion_protection: Option<bool>The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger operation to set the flag to false. The QLDB console disables deletion protection for you when you use it to delete a ledger.
name: Option<String>The name of the ledger.
state: Option<String>The current status of the ledger.
Trait Implementations§
Source§impl Clone for DescribeLedgerResponse
impl Clone for DescribeLedgerResponse
Source§fn clone(&self) -> DescribeLedgerResponse
fn clone(&self) -> DescribeLedgerResponse
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 DescribeLedgerResponse
impl Debug for DescribeLedgerResponse
Source§impl Default for DescribeLedgerResponse
impl Default for DescribeLedgerResponse
Source§fn default() -> DescribeLedgerResponse
fn default() -> DescribeLedgerResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DescribeLedgerResponse
impl<'de> Deserialize<'de> for DescribeLedgerResponse
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 DescribeLedgerResponse
impl PartialEq for DescribeLedgerResponse
impl StructuralPartialEq for DescribeLedgerResponse
Auto Trait Implementations§
impl Freeze for DescribeLedgerResponse
impl RefUnwindSafe for DescribeLedgerResponse
impl Send for DescribeLedgerResponse
impl Sync for DescribeLedgerResponse
impl Unpin for DescribeLedgerResponse
impl UnwindSafe for DescribeLedgerResponse
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