#[non_exhaustive]pub struct ParsedProfiles {
pub profiles: Vec<ParsedProfile>,
pub skipped: usize,
pub bundle: bool,
}Expand description
parse_profiles 的结果:单条与多条统一成列表。
🔴 同 ParsedProfile,含明文密钥,别写日志、别缓存。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.profiles: Vec<ParsedProfile>解析出的配置,顺序与来源一致;单条信封时恰好一条
skipped: usize跳过的条数(设备绑定的 OAuth 档案)。界面应当告诉用户,否则会以为漏导了
bundle: bool来源是否为多条打包
Trait Implementations§
Source§impl Clone for ParsedProfiles
impl Clone for ParsedProfiles
Source§impl Debug for ParsedProfiles
impl Debug for ParsedProfiles
impl Eq for ParsedProfiles
Source§impl PartialEq for ParsedProfiles
impl PartialEq for ParsedProfiles
Source§impl Serialize for ParsedProfiles
impl Serialize for ParsedProfiles
impl StructuralPartialEq for ParsedProfiles
Auto Trait Implementations§
impl Freeze for ParsedProfiles
impl RefUnwindSafe for ParsedProfiles
impl Send for ParsedProfiles
impl Sync for ParsedProfiles
impl Unpin for ParsedProfiles
impl UnsafeUnpin for ParsedProfiles
impl UnwindSafe for ParsedProfiles
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