pub struct SiteRoles {
pub date: NaiveDate,
pub delegated_code: Option<String>,
pub delegated_code_owner_email: Option<String>,
pub delegator_email: Option<String>,
pub email: String,
pub expired: bool,
pub role: UserRole,
pub site: String,
pub verification_site: String,
}Expand description
User roles and permissions for a site
Represents a user’s access permissions for a specific site in Bing Webmaster Tools.
Fields§
§date: NaiveDateDate when this role was assigned
delegated_code: Option<String>Delegation code for transferring site ownership
delegated_code_owner_email: Option<String>Email of the user who owns the delegation code
delegator_email: Option<String>Email of the user who delegated access
email: StringEmail of the user with this role
expired: boolWhether this role assignment has expired
role: UserRoleThe role assigned to the user
site: StringThe site URL this role applies to
verification_site: StringThe verification site URL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SiteRoles
impl<'de> Deserialize<'de> for SiteRoles
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 SiteRoles
impl RefUnwindSafe for SiteRoles
impl Send for SiteRoles
impl Sync for SiteRoles
impl Unpin for SiteRoles
impl UnwindSafe for SiteRoles
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)