pub struct UpdateLedgerRequest {
pub deletion_protection: Option<bool>,
pub name: String,
}Fields§
§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: StringThe name of the ledger.
Trait Implementations§
Source§impl Clone for UpdateLedgerRequest
impl Clone for UpdateLedgerRequest
Source§fn clone(&self) -> UpdateLedgerRequest
fn clone(&self) -> UpdateLedgerRequest
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 UpdateLedgerRequest
impl Debug for UpdateLedgerRequest
Source§impl Default for UpdateLedgerRequest
impl Default for UpdateLedgerRequest
Source§fn default() -> UpdateLedgerRequest
fn default() -> UpdateLedgerRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateLedgerRequest
impl PartialEq for UpdateLedgerRequest
Source§impl Serialize for UpdateLedgerRequest
impl Serialize for UpdateLedgerRequest
impl StructuralPartialEq for UpdateLedgerRequest
Auto Trait Implementations§
impl Freeze for UpdateLedgerRequest
impl RefUnwindSafe for UpdateLedgerRequest
impl Send for UpdateLedgerRequest
impl Sync for UpdateLedgerRequest
impl Unpin for UpdateLedgerRequest
impl UnwindSafe for UpdateLedgerRequest
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