pub struct AdminDatastoreUpdateNotesRequest {
pub backup_id: String,
pub backup_time: i64,
pub backup_type: PbsBackupTypeEnum,
pub notes: String,
pub ns: Option<String>,
}Fields§
§backup_id: StringBackup ID.
backup_time: i64Backup time (Unix epoch.)
backup_type: PbsBackupTypeEnumBackup types.
notes: StringA multiline text.
ns: Option<String>Namespace.
Implementations§
Source§impl AdminDatastoreUpdateNotesRequest
impl AdminDatastoreUpdateNotesRequest
pub fn new( backup_id: String, backup_time: i64, backup_type: PbsBackupTypeEnum, notes: String, ) -> AdminDatastoreUpdateNotesRequest
Trait Implementations§
Source§impl Clone for AdminDatastoreUpdateNotesRequest
impl Clone for AdminDatastoreUpdateNotesRequest
Source§fn clone(&self) -> AdminDatastoreUpdateNotesRequest
fn clone(&self) -> AdminDatastoreUpdateNotesRequest
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 Default for AdminDatastoreUpdateNotesRequest
impl Default for AdminDatastoreUpdateNotesRequest
Source§fn default() -> AdminDatastoreUpdateNotesRequest
fn default() -> AdminDatastoreUpdateNotesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdminDatastoreUpdateNotesRequest
impl<'de> Deserialize<'de> for AdminDatastoreUpdateNotesRequest
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 AdminDatastoreUpdateNotesRequest
impl PartialEq for AdminDatastoreUpdateNotesRequest
Source§fn eq(&self, other: &AdminDatastoreUpdateNotesRequest) -> bool
fn eq(&self, other: &AdminDatastoreUpdateNotesRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdminDatastoreUpdateNotesRequest
Auto Trait Implementations§
impl Freeze for AdminDatastoreUpdateNotesRequest
impl RefUnwindSafe for AdminDatastoreUpdateNotesRequest
impl Send for AdminDatastoreUpdateNotesRequest
impl Sync for AdminDatastoreUpdateNotesRequest
impl Unpin for AdminDatastoreUpdateNotesRequest
impl UnsafeUnpin for AdminDatastoreUpdateNotesRequest
impl UnwindSafe for AdminDatastoreUpdateNotesRequest
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