pub struct RespawnWait {
pub seconds: u16,
pub alone: bool,
}Expand description
How long a fallen player waits before rejoining the party (spec-0077 §3).
Fields§
§seconds: u16Seconds a fallen player waits after clicking Respawn, 1..=120
(DW0925). Counted on the server only while the player is online.
alone: boolWhether a player who comes back with nobody else present also waits.
Default false: a party of one never waits.
Trait Implementations§
Source§impl Clone for RespawnWait
impl Clone for RespawnWait
impl Copy for RespawnWait
Source§impl Debug for RespawnWait
impl Debug for RespawnWait
Source§impl<'de> Deserialize<'de> for RespawnWait
impl<'de> Deserialize<'de> for RespawnWait
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 RespawnWait
Source§impl JsonSchema for RespawnWait
impl JsonSchema for RespawnWait
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 RespawnWait
impl PartialEq for RespawnWait
Source§impl Serialize for RespawnWait
impl Serialize for RespawnWait
impl StructuralPartialEq for RespawnWait
Auto Trait Implementations§
impl Freeze for RespawnWait
impl RefUnwindSafe for RespawnWait
impl Send for RespawnWait
impl Sync for RespawnWait
impl Unpin for RespawnWait
impl UnsafeUnpin for RespawnWait
impl UnwindSafe for RespawnWait
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