pub struct OauthAppItem {
pub app_id: i64,
pub app_markup_percentage: String,
pub last_used: Option<Value>,
pub name: String,
pub official: String,
pub scopes: Vec<String>,
}
Fields§
§app_id: i64
Application ID.\n
app_markup_percentage: String
Markup added to contract prices (as a percentage of contract payout)\n
last_used: Option<Value>
The last date which the application has been used.\n
name: String
Application name\n
official: String
Boolean value: 1 or 0, indicating 1 if app is an official app and 0 incase of unofficial app\n
scopes: Vec<String>
The list of permission scopes grant for each app.\n
Trait Implementations§
Source§impl Clone for OauthAppItem
impl Clone for OauthAppItem
Source§fn clone(&self) -> OauthAppItem
fn clone(&self) -> OauthAppItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OauthAppItem
impl Debug for OauthAppItem
Source§impl<'de> Deserialize<'de> for OauthAppItem
impl<'de> Deserialize<'de> for OauthAppItem
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 Freeze for OauthAppItem
impl RefUnwindSafe for OauthAppItem
impl Send for OauthAppItem
impl Sync for OauthAppItem
impl Unpin for OauthAppItem
impl UnwindSafe for OauthAppItem
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