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