pub struct ExportProfile {
pub team_id: String,
pub user_id: String,
pub team_name: Option<String>,
pub user_name: Option<String>,
pub token: String,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub user_token: Option<String>,
}Expand description
Profile data for export (includes token and optional OAuth credentials)
Fields§
§team_id: String§user_id: String§team_name: Option<String>§user_name: Option<String>§token: String§client_id: Option<String>OAuth client ID (optional for backward compatibility)
client_secret: Option<String>OAuth client secret (optional for backward compatibility)
user_token: Option<String>User token (optional for backward compatibility)
Trait Implementations§
Source§impl Clone for ExportProfile
impl Clone for ExportProfile
Source§fn clone(&self) -> ExportProfile
fn clone(&self) -> ExportProfile
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 ExportProfile
impl Debug for ExportProfile
Source§impl<'de> Deserialize<'de> for ExportProfile
impl<'de> Deserialize<'de> for ExportProfile
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 ExportProfile
impl RefUnwindSafe for ExportProfile
impl Send for ExportProfile
impl Sync for ExportProfile
impl Unpin for ExportProfile
impl UnwindSafe for ExportProfile
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