pub struct Authorize {
pub id: u64,
pub name: String,
pub password: String,
}Expand description
mining.authorize(“username”, “password”)
The result from an authorize request is usually true (successful), or false. The password may be omitted if the server does not require passwords.
Fields§
§id: u64§name: String§password: StringImplementations§
Trait Implementations§
Source§impl TryFrom<StandardRequest> for Authorize
impl TryFrom<StandardRequest> for Authorize
Source§type Error = ParsingMethodError
type Error = ParsingMethodError
The type returned in the event of a conversion error.
impl Eq for Authorize
impl StructuralPartialEq for Authorize
Auto Trait Implementations§
impl Freeze for Authorize
impl RefUnwindSafe for Authorize
impl Send for Authorize
impl Sync for Authorize
impl Unpin for Authorize
impl UnwindSafe for Authorize
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