pub struct RespawnedResponse {
pub agent_id: String,
}Expand description
Response for POST /api/agents/{id}/respawn.
Fields§
§agent_id: StringThe new agent id.
Trait Implementations§
Source§impl Clone for RespawnedResponse
impl Clone for RespawnedResponse
Source§fn clone(&self) -> RespawnedResponse
fn clone(&self) -> RespawnedResponse
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 RespawnedResponse
impl Debug for RespawnedResponse
Source§impl<'de> Deserialize<'de> for RespawnedResponse
impl<'de> Deserialize<'de> for RespawnedResponse
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
impl Eq for RespawnedResponse
Source§impl JsonSchema for RespawnedResponse
impl JsonSchema for RespawnedResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RespawnedResponse
impl PartialEq for RespawnedResponse
Source§impl Serialize for RespawnedResponse
impl Serialize for RespawnedResponse
impl StructuralPartialEq for RespawnedResponse
Auto Trait Implementations§
impl Freeze for RespawnedResponse
impl RefUnwindSafe for RespawnedResponse
impl Send for RespawnedResponse
impl Sync for RespawnedResponse
impl Unpin for RespawnedResponse
impl UnsafeUnpin for RespawnedResponse
impl UnwindSafe for RespawnedResponse
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