pub struct AddNodeResponse {
pub id: String,
}Expand description
Response for POST /api/v1/nodes — echoes the registered xname.
Fields§
§id: StringPhysical location ID (xname) of the registered node.
Trait Implementations§
Source§impl ComposeSchema for AddNodeResponse
impl ComposeSchema for AddNodeResponse
Source§impl Debug for AddNodeResponse
impl Debug for AddNodeResponse
Source§impl<'de> Deserialize<'de> for AddNodeResponse
impl<'de> Deserialize<'de> for AddNodeResponse
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 Serialize for AddNodeResponse
impl Serialize for AddNodeResponse
Auto Trait Implementations§
impl Freeze for AddNodeResponse
impl RefUnwindSafe for AddNodeResponse
impl Send for AddNodeResponse
impl Sync for AddNodeResponse
impl Unpin for AddNodeResponse
impl UnsafeUnpin for AddNodeResponse
impl UnwindSafe for AddNodeResponse
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