pub struct ImportOutcome {
pub path: PathBuf,
pub client_id: String,
}Expand description
The result of a successful import — enough for the CLI layer to report what happened without ever handling the secret itself.
Fields§
§path: PathBufThe client_secret.json path that was used.
client_id: StringThe imported client id (safe to print).
Trait Implementations§
Source§impl Clone for ImportOutcome
impl Clone for ImportOutcome
Source§fn clone(&self) -> ImportOutcome
fn clone(&self) -> ImportOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImportOutcome
impl RefUnwindSafe for ImportOutcome
impl Send for ImportOutcome
impl Sync for ImportOutcome
impl Unpin for ImportOutcome
impl UnsafeUnpin for ImportOutcome
impl UnwindSafe for ImportOutcome
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