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