pub struct TaskAgentAuthorization {
pub authorization_url: Option<String>,
pub client_id: Option<String>,
pub public_key: Option<TaskAgentPublicKey>,
}Expand description
Provides data necessary for authorizing the agent using OAuth 2.0 authentication flows.
Fields§
Endpoint used to obtain access tokens from the configured token service.
client_id: Option<String>Client identifier for this agent.
public_key: Option<TaskAgentPublicKey>Represents the public key portion of an RSA asymmetric key.
Implementations§
Trait Implementations§
Source§impl Clone for TaskAgentAuthorization
impl Clone for TaskAgentAuthorization
Source§fn clone(&self) -> TaskAgentAuthorization
fn clone(&self) -> TaskAgentAuthorization
Returns a duplicate of the value. Read more
1.0.0 · 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 TaskAgentAuthorization
impl Debug for TaskAgentAuthorization
Source§impl Default for TaskAgentAuthorization
impl Default for TaskAgentAuthorization
Source§fn default() -> TaskAgentAuthorization
fn default() -> TaskAgentAuthorization
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskAgentAuthorization
impl<'de> Deserialize<'de> for TaskAgentAuthorization
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
Source§impl PartialEq for TaskAgentAuthorization
impl PartialEq for TaskAgentAuthorization
Source§impl Serialize for TaskAgentAuthorization
impl Serialize for TaskAgentAuthorization
impl StructuralPartialEq for TaskAgentAuthorization
Auto Trait Implementations§
impl Freeze for TaskAgentAuthorization
impl RefUnwindSafe for TaskAgentAuthorization
impl Send for TaskAgentAuthorization
impl Sync for TaskAgentAuthorization
impl Unpin for TaskAgentAuthorization
impl UnwindSafe for TaskAgentAuthorization
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more