pub struct AppInfo {
pub name: String,
pub redirect_uri: String,
}
Expand description
Global information about an app, can be shared across multiple instances.
Fields§
§name: String
Display name of the app
redirect_uri: String
Where the user should be redirected after authorization
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppInfo
impl<'de> Deserialize<'de> for AppInfo
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 AppInfo
impl RefUnwindSafe for AppInfo
impl Send for AppInfo
impl Sync for AppInfo
impl Unpin for AppInfo
impl UnwindSafe for AppInfo
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