Struct mx_tester::registration::User [−][src]
pub struct User {
pub admin: bool,
pub localname: String,
pub password: String,
pub rooms: Vec<Room>,
}Fields
admin: boolCreate user as admin?
localname: Stringpassword: StringThe password for this user. If unspecified, we use "password" as password.
rooms: Vec<Room>Implementations
Trait Implementations
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 User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more