pub struct CreateNodeResponse {
pub node_id: u64,
pub message: String,
pub error: Option<String>,
}Expand description
Create node response
Fields§
§node_id: u64Created node ID
message: StringSuccess message
error: Option<String>Error message if any
Trait Implementations§
Source§impl Clone for CreateNodeResponse
impl Clone for CreateNodeResponse
Source§fn clone(&self) -> CreateNodeResponse
fn clone(&self) -> CreateNodeResponse
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 CreateNodeResponse
impl Debug for CreateNodeResponse
Source§impl<'de> Deserialize<'de> for CreateNodeResponse
impl<'de> Deserialize<'de> for CreateNodeResponse
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 CreateNodeResponse
impl RefUnwindSafe for CreateNodeResponse
impl Send for CreateNodeResponse
impl Sync for CreateNodeResponse
impl Unpin for CreateNodeResponse
impl UnsafeUnpin for CreateNodeResponse
impl UnwindSafe for CreateNodeResponse
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