pub struct OauthAddon {
pub provider: String,
}Fields§
§provider: StringTrait Implementations§
Source§impl Addon for OauthAddon
impl Addon for OauthAddon
fn name(&self) -> &str
fn check_prerequisites(&self, project_root: &Path) -> Result<()>
fn is_already_installed(&self, project_root: &Path) -> bool
fn install(&self, project_root: &Path) -> Result<()>
Source§fn uninstall(&self, project_root: &Path) -> Result<()>
fn uninstall(&self, project_root: &Path) -> Result<()>
Uninstall the addon. Default implementation returns an error.
Source§fn dependencies(&self) -> Vec<&str>
fn dependencies(&self) -> Vec<&str>
Return the names of addons this addon depends on.
Auto Trait Implementations§
impl Freeze for OauthAddon
impl RefUnwindSafe for OauthAddon
impl Send for OauthAddon
impl Sync for OauthAddon
impl Unpin for OauthAddon
impl UnsafeUnpin for OauthAddon
impl UnwindSafe for OauthAddon
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