pub struct GetAccessCodebodyDto {
pub client_id: String,
pub client_secret: String,
pub grant_type: String,
pub code: Option<String>,
pub refresh_token: Option<String>,
pub user_type: Option<String>,
pub redirect_uri: Option<String>,
}Available on crate feature
oauth only.Expand description
GetAccessCodebodyDto from the GoHighLevel OpenAPI spec.
Fields§
§client_id: StringThe ID provided by GHL for your integration Required by the API.
client_secret: StringRequired by the API.
grant_type: StringAllowed values: authorization_code, refresh_token, client_credentials.
Required by the API.
code: Option<String>§refresh_token: Option<String>§user_type: Option<String>The type of token to be requested
Allowed values: Company, Location.
redirect_uri: Option<String>The redirect URI for your application
Trait Implementations§
Source§impl Clone for GetAccessCodebodyDto
impl Clone for GetAccessCodebodyDto
Source§fn clone(&self) -> GetAccessCodebodyDto
fn clone(&self) -> GetAccessCodebodyDto
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 GetAccessCodebodyDto
impl Debug for GetAccessCodebodyDto
Source§impl Default for GetAccessCodebodyDto
impl Default for GetAccessCodebodyDto
Source§fn default() -> GetAccessCodebodyDto
fn default() -> GetAccessCodebodyDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAccessCodebodyDto
impl<'de> Deserialize<'de> for GetAccessCodebodyDto
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 GetAccessCodebodyDto
impl RefUnwindSafe for GetAccessCodebodyDto
impl Send for GetAccessCodebodyDto
impl Sync for GetAccessCodebodyDto
impl Unpin for GetAccessCodebodyDto
impl UnsafeUnpin for GetAccessCodebodyDto
impl UnwindSafe for GetAccessCodebodyDto
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