pub struct NodeTransferResponse {
pub success: bool,
pub node_id: NodeId,
pub edges_transferred: u64,
pub error: Option<String>,
}Expand description
Response to a node transfer request.
Fields§
§success: boolWhether the transfer was successful.
node_id: NodeIdNode ID that was transferred.
edges_transferred: u64Number of edges transferred with the node.
error: Option<String>Any error message if transfer failed.
Trait Implementations§
Source§impl Clone for NodeTransferResponse
impl Clone for NodeTransferResponse
Source§fn clone(&self) -> NodeTransferResponse
fn clone(&self) -> NodeTransferResponse
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 NodeTransferResponse
impl Debug for NodeTransferResponse
Source§impl<'de> Deserialize<'de> for NodeTransferResponse
impl<'de> Deserialize<'de> for NodeTransferResponse
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
Auto Trait Implementations§
impl Freeze for NodeTransferResponse
impl RefUnwindSafe for NodeTransferResponse
impl Send for NodeTransferResponse
impl Sync for NodeTransferResponse
impl Unpin for NodeTransferResponse
impl UnsafeUnpin for NodeTransferResponse
impl UnwindSafe for NodeTransferResponse
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