pub struct AgentConfig {
pub device_id: String,
pub refresh_interval: i32,
pub authorization_flow: Option<String>,
pub jwks_auth: HashMap<String, Value>,
pub jwks_challenge: Option<HashMap<String, Value>>,
pub nss_uid_offset: i32,
pub nss_gid_offset: i32,
pub auth_terminate_session_on_expiry: bool,
pub system_config: Config,
pub license_status: Option<LicenseStatusEnum>,
}Expand description
AgentConfig : Base serializer class which doesn’t implement create/update methods
Fields§
§device_id: String§refresh_interval: i32§jwks_auth: HashMap<String, Value>§jwks_challenge: Option<HashMap<String, Value>>§nss_uid_offset: i32§nss_gid_offset: i32§auth_terminate_session_on_expiry: bool§system_config: Config§license_status: Option<LicenseStatusEnum>Implementations§
Source§impl AgentConfig
impl AgentConfig
Sourcepub fn new(
device_id: String,
refresh_interval: i32,
authorization_flow: Option<String>,
jwks_auth: HashMap<String, Value>,
jwks_challenge: Option<HashMap<String, Value>>,
nss_uid_offset: i32,
nss_gid_offset: i32,
auth_terminate_session_on_expiry: bool,
system_config: Config,
license_status: Option<LicenseStatusEnum>,
) -> AgentConfig
pub fn new( device_id: String, refresh_interval: i32, authorization_flow: Option<String>, jwks_auth: HashMap<String, Value>, jwks_challenge: Option<HashMap<String, Value>>, nss_uid_offset: i32, nss_gid_offset: i32, auth_terminate_session_on_expiry: bool, system_config: Config, license_status: Option<LicenseStatusEnum>, ) -> AgentConfig
Base serializer class which doesn’t implement create/update methods
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
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 AgentConfig
impl Debug for AgentConfig
Source§impl Default for AgentConfig
impl Default for AgentConfig
Source§fn default() -> AgentConfig
fn default() -> AgentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentConfig
impl<'de> Deserialize<'de> for AgentConfig
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 AgentConfig
impl PartialEq for AgentConfig
Source§impl Serialize for AgentConfig
impl Serialize for AgentConfig
impl StructuralPartialEq for AgentConfig
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnwindSafe for AgentConfig
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