Struct rincon_client::user::methods::GetDatabaseAccessLevel
[−]
[src]
pub struct GetDatabaseAccessLevel { /* fields omitted */ }
Fetch the database access level for a specific database.
Methods
impl GetDatabaseAccessLevel
[src]
pub fn new(user_name: String, database: String) -> Self
[src]
Constructs a new instance of the GetDatabaseAccessLevel
method.
pub fn user_name(&self) -> &str
[src]
Returns the user name of for which the database access level should be fetched.
pub fn database(&self) -> &str
[src]
Returns the name of the database for which the database access level should be fetched.
Trait Implementations
impl Debug for GetDatabaseAccessLevel
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GetDatabaseAccessLevel
[src]
fn clone(&self) -> GetDatabaseAccessLevel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for GetDatabaseAccessLevel
[src]
fn eq(&self, __arg_0: &GetDatabaseAccessLevel) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetDatabaseAccessLevel) -> bool
[src]
This method tests for !=
.
impl Method for GetDatabaseAccessLevel
[src]
type Result = Permission
The type of the result of a method call.
const RETURN_TYPE: RpcReturnType
RETURN_TYPE: RpcReturnType = RpcReturnType{result_field: Some(FIELD_RESULT), code_field: Some(FIELD_CODE),}
Specification of the fields of RPC-like return type. Read more
fn return_type(&self) -> RpcReturnType
[src]
Returns the specification of the RPC-like return type.
impl Prepare for GetDatabaseAccessLevel
[src]
type Content = ()
The type of the content of a method call. Read more
fn operation(&self) -> Operation
[src]
Returns the type of operation this method is executing.
fn path(&self) -> String
[src]
Returns the resource path of a REST operation.
fn parameters(&self) -> Parameters
[src]
Returns the query parameters of this method. Read more
fn header(&self) -> Parameters
[src]
Returns the header parameters of this method. Read more
fn content(&self) -> Option<&Self::Content>
[src]
Returns the content of this method if any. Read more