50 lines
1.8 KiB
Rust
50 lines
1.8 KiB
Rust
|
|
#[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
|
||
|
|
pub mod Provider;
|
||
|
|
#[cfg(feature = "ApplicationModel_UserDataAccounts_SystemAccess")]
|
||
|
|
pub mod SystemAccess;
|
||
|
|
pub type UserDataAccount = *mut ::core::ffi::c_void;
|
||
|
|
#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"]
|
||
|
|
#[repr(transparent)]
|
||
|
|
pub struct UserDataAccountContentKinds(pub u32);
|
||
|
|
impl UserDataAccountContentKinds {
|
||
|
|
pub const Email: Self = Self(1u32);
|
||
|
|
pub const Contact: Self = Self(2u32);
|
||
|
|
pub const Appointment: Self = Self(4u32);
|
||
|
|
}
|
||
|
|
impl ::core::marker::Copy for UserDataAccountContentKinds {}
|
||
|
|
impl ::core::clone::Clone for UserDataAccountContentKinds {
|
||
|
|
fn clone(&self) -> Self {
|
||
|
|
*self
|
||
|
|
}
|
||
|
|
}
|
||
|
|
pub type UserDataAccountManagerForUser = *mut ::core::ffi::c_void;
|
||
|
|
#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"]
|
||
|
|
#[repr(transparent)]
|
||
|
|
pub struct UserDataAccountOtherAppReadAccess(pub i32);
|
||
|
|
impl UserDataAccountOtherAppReadAccess {
|
||
|
|
pub const SystemOnly: Self = Self(0i32);
|
||
|
|
pub const Full: Self = Self(1i32);
|
||
|
|
pub const None: Self = Self(2i32);
|
||
|
|
}
|
||
|
|
impl ::core::marker::Copy for UserDataAccountOtherAppReadAccess {}
|
||
|
|
impl ::core::clone::Clone for UserDataAccountOtherAppReadAccess {
|
||
|
|
fn clone(&self) -> Self {
|
||
|
|
*self
|
||
|
|
}
|
||
|
|
}
|
||
|
|
pub type UserDataAccountStore = *mut ::core::ffi::c_void;
|
||
|
|
#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"]
|
||
|
|
#[repr(transparent)]
|
||
|
|
pub struct UserDataAccountStoreAccessType(pub i32);
|
||
|
|
impl UserDataAccountStoreAccessType {
|
||
|
|
pub const AllAccountsReadOnly: Self = Self(0i32);
|
||
|
|
pub const AppAccountsReadWrite: Self = Self(1i32);
|
||
|
|
}
|
||
|
|
impl ::core::marker::Copy for UserDataAccountStoreAccessType {}
|
||
|
|
impl ::core::clone::Clone for UserDataAccountStoreAccessType {
|
||
|
|
fn clone(&self) -> Self {
|
||
|
|
*self
|
||
|
|
}
|
||
|
|
}
|
||
|
|
pub type UserDataAccountStoreChangedEventArgs = *mut ::core::ffi::c_void;
|