pub struct ReplicationTask {
pub id: Option<i32>,
pub execution_id: Option<i32>,
pub status: Option<String>,
pub job_id: Option<String>,
pub operation: Option<String>,
pub resource_type: Option<String>,
pub src_resource: Option<String>,
pub dst_resource: Option<String>,
pub start_time: Option<String>,
pub end_time: Option<String>,
}Expand description
ReplicationTask : The replication task
Fields§
§id: Option<i32>The ID of the task
execution_id: Option<i32>The ID of the execution that the task belongs to
status: Option<String>The status of the task
job_id: Option<String>The ID of the underlying job that the task related to
operation: Option<String>The operation of the task
resource_type: Option<String>The type of the resource that the task operates
src_resource: Option<String>The source resource that the task operates
dst_resource: Option<String>The destination resource that the task operates
start_time: Option<String>The start time of the task
end_time: Option<String>The end time of the task
Implementations§
Source§impl ReplicationTask
impl ReplicationTask
Sourcepub fn new() -> ReplicationTask
pub fn new() -> ReplicationTask
The replication task
Trait Implementations§
Source§impl Clone for ReplicationTask
impl Clone for ReplicationTask
Source§fn clone(&self) -> ReplicationTask
fn clone(&self) -> ReplicationTask
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 ReplicationTask
impl Debug for ReplicationTask
Source§impl Default for ReplicationTask
impl Default for ReplicationTask
Source§fn default() -> ReplicationTask
fn default() -> ReplicationTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplicationTask
impl<'de> Deserialize<'de> for ReplicationTask
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 ReplicationTask
impl PartialEq for ReplicationTask
Source§impl Serialize for ReplicationTask
impl Serialize for ReplicationTask
impl StructuralPartialEq for ReplicationTask
Auto Trait Implementations§
impl Freeze for ReplicationTask
impl RefUnwindSafe for ReplicationTask
impl Send for ReplicationTask
impl Sync for ReplicationTask
impl Unpin for ReplicationTask
impl UnwindSafe for ReplicationTask
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