pub struct UpdateLedgerResponse {
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 UpdateLedgerResponse
impl Clone for UpdateLedgerResponse
Source§fn clone(&self) -> UpdateLedgerResponse
fn clone(&self) -> UpdateLedgerResponse
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 UpdateLedgerResponse
impl Debug for UpdateLedgerResponse
Source§impl Default for UpdateLedgerResponse
impl Default for UpdateLedgerResponse
Source§fn default() -> UpdateLedgerResponse
fn default() -> UpdateLedgerResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateLedgerResponse
impl<'de> Deserialize<'de> for UpdateLedgerResponse
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 UpdateLedgerResponse
impl PartialEq for UpdateLedgerResponse
impl StructuralPartialEq for UpdateLedgerResponse
Auto Trait Implementations§
impl Freeze for UpdateLedgerResponse
impl RefUnwindSafe for UpdateLedgerResponse
impl Send for UpdateLedgerResponse
impl Sync for UpdateLedgerResponse
impl Unpin for UpdateLedgerResponse
impl UnwindSafe for UpdateLedgerResponse
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