Struct netsblox_api_common::RoleState
source · pub struct RoleState {
pub name: String,
pub occupants: Vec<OccupantState>,
}
Fields§
§name: String
§occupants: Vec<OccupantState>
Trait Implementations§
source§impl<'de> Deserialize<'de> for RoleState
impl<'de> Deserialize<'de> for RoleState
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 RefUnwindSafe for RoleState
impl Send for RoleState
impl Sync for RoleState
impl Unpin for RoleState
impl UnwindSafe for RoleState
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