pub struct AccessRequestDecisionResponseModel {
pub decider_kind: Option<DeciderKind>,
pub id: Option<Uuid>,
pub name: Option<String>,
pub email: Option<String>,
pub comment: Option<String>,
pub verdict: Option<AccessDecisionVerdict>,
pub decided_at: Option<String>,
}Expand description
AccessRequestDecisionResponseModel : One decision on an access request: who decided (Bit.Services.Pam.Api.Models.Response.AccessRequestDecisionResponseModel.DeciderKind), their identity for a human decision, the verdict, an optional comment, and when. An element of Bit.Services.Pam.Api.Models.Response.AccessRequestDetailsResponseModel.Decisions — the request’s full decision log, oldest first. For an automatic (access-rule) decision Bit.Services.Pam.Api.Models.Response.AccessRequestDecisionResponseModel.Id/Bit.Services.Pam.Api. Models.Response.AccessRequestDecisionResponseModel.Name/Bit.Services.Pam.Api.Models.Response. AccessRequestDecisionResponseModel.Email are null; for a human decision they carry the approver (name/email denormalized by the server, null only when the user could not be resolved).
Fields§
§decider_kind: Option<DeciderKind>§id: Option<Uuid>The human approver’s user id, or null for an automatic decision.
name: Option<String>The human approver’s display name; null for an automatic decision, or when the user could not be resolved.
email: Option<String>The human approver’s email; null for an automatic decision, or when the user could not be resolved.
comment: Option<String>The optional note the approver left with the decision.
verdict: Option<AccessDecisionVerdict>§decided_at: Option<String>When the decision was recorded (UTC).
Implementations§
Source§impl AccessRequestDecisionResponseModel
impl AccessRequestDecisionResponseModel
Sourcepub fn new() -> AccessRequestDecisionResponseModel
pub fn new() -> AccessRequestDecisionResponseModel
One decision on an access request: who decided (Bit.Services.Pam.Api.Models.Response.AccessRequestDecisionResponseModel.DeciderKind), their identity for a human decision, the verdict, an optional comment, and when. An element of Bit.Services.Pam.Api.Models.Response.AccessRequestDetailsResponseModel.Decisions — the request’s full decision log, oldest first. For an automatic (access-rule) decision Bit.Services.Pam.Api.Models.Response.AccessRequestDecisionResponseModel.Id/Bit. Services.Pam.Api.Models.Response.AccessRequestDecisionResponseModel.Name/Bit.Services.Pam. Api.Models.Response.AccessRequestDecisionResponseModel.Email are null; for a human decision they carry the approver (name/email denormalized by the server, null only when the user could not be resolved).
Trait Implementations§
Source§impl Clone for AccessRequestDecisionResponseModel
impl Clone for AccessRequestDecisionResponseModel
Source§fn clone(&self) -> AccessRequestDecisionResponseModel
fn clone(&self) -> AccessRequestDecisionResponseModel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for AccessRequestDecisionResponseModel
impl Default for AccessRequestDecisionResponseModel
Source§fn default() -> AccessRequestDecisionResponseModel
fn default() -> AccessRequestDecisionResponseModel
Source§impl<'de> Deserialize<'de> for AccessRequestDecisionResponseModel
impl<'de> Deserialize<'de> for AccessRequestDecisionResponseModel
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>,
Source§impl PartialEq for AccessRequestDecisionResponseModel
impl PartialEq for AccessRequestDecisionResponseModel
Source§fn eq(&self, other: &AccessRequestDecisionResponseModel) -> bool
fn eq(&self, other: &AccessRequestDecisionResponseModel) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessRequestDecisionResponseModel
Auto Trait Implementations§
impl Freeze for AccessRequestDecisionResponseModel
impl RefUnwindSafe for AccessRequestDecisionResponseModel
impl Send for AccessRequestDecisionResponseModel
impl Sync for AccessRequestDecisionResponseModel
impl Unpin for AccessRequestDecisionResponseModel
impl UnsafeUnpin for AccessRequestDecisionResponseModel
impl UnwindSafe for AccessRequestDecisionResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Arc<> Read more