pub struct NewLiveOwnership {
pub run_id: Option<i64>,
pub operation_kind: LiveOperationKind,
pub database_key: String,
pub resource_key: String,
pub owner_pid: i64,
pub acquired_at: DateTime<Utc>,
pub restore_intent_json: Option<String>,
}Fields§
§run_id: Option<i64>§operation_kind: LiveOperationKind§database_key: String§resource_key: String§owner_pid: i64§acquired_at: DateTime<Utc>§restore_intent_json: Option<String>Trait Implementations§
Source§impl Clone for NewLiveOwnership
impl Clone for NewLiveOwnership
Source§fn clone(&self) -> NewLiveOwnership
fn clone(&self) -> NewLiveOwnership
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 Debug for NewLiveOwnership
impl Debug for NewLiveOwnership
Source§impl PartialEq for NewLiveOwnership
impl PartialEq for NewLiveOwnership
Source§impl Serialize for NewLiveOwnership
impl Serialize for NewLiveOwnership
impl StructuralPartialEq for NewLiveOwnership
Auto Trait Implementations§
impl Freeze for NewLiveOwnership
impl RefUnwindSafe for NewLiveOwnership
impl Send for NewLiveOwnership
impl Sync for NewLiveOwnership
impl Unpin for NewLiveOwnership
impl UnsafeUnpin for NewLiveOwnership
impl UnwindSafe for NewLiveOwnership
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more