pub struct RoleSchema {
pub type_: Option<String>,
pub role: Option<String>,
pub location_ids: Vec<String>,
pub restrict_sub_account: Option<bool>,
}Available on crate feature
users only.Expand description
RoleSchema from the GoHighLevel OpenAPI spec.
Fields§
§type_: Option<String>User account type (account for sub-account users, agency for agency-level users)
role: Option<String>User role within the account (admin or user)
location_ids: Vec<String>List of location IDs the user has access to
restrict_sub_account: Option<bool>Whether the user is restricted to specific sub-accounts only
Trait Implementations§
Source§impl Clone for RoleSchema
impl Clone for RoleSchema
Source§fn clone(&self) -> RoleSchema
fn clone(&self) -> RoleSchema
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 moreSource§impl Debug for RoleSchema
impl Debug for RoleSchema
Source§impl Default for RoleSchema
impl Default for RoleSchema
Source§fn default() -> RoleSchema
fn default() -> RoleSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoleSchema
impl<'de> Deserialize<'de> for RoleSchema
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 RoleSchema
impl RefUnwindSafe for RoleSchema
impl Send for RoleSchema
impl Sync for RoleSchema
impl Unpin for RoleSchema
impl UnsafeUnpin for RoleSchema
impl UnwindSafe for RoleSchema
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