pub struct AccessPreCheckResponseModel {
pub object: Option<String>,
pub cipher_id: Option<Uuid>,
pub approval_mode: Option<AccessApprovalMode>,
pub has_active_lease: Option<bool>,
pub default_duration_seconds: Option<i32>,
pub max_duration_seconds: Option<i32>,
pub can_start_lease: Option<bool>,
pub slot_frees_at: Option<String>,
}Expand description
AccessPreCheckResponseModel : The approval outcome a request for this cipher would get, so the client can offer the right form before submitting.
Fields§
§object: Option<String>§cipher_id: Option<Uuid>§approval_mode: Option<AccessApprovalMode>§has_active_lease: Option<bool>True when the caller already holds an active lease, so no request is needed.
default_duration_seconds: Option<i32>The duration to pre-select, from the rule’s default or the global one, clamped to Bit.Services.Pam.Api.Models.Response.AccessPreCheckResponseModel.MaxDurationSeconds.
max_duration_seconds: Option<i32>The longest duration (automatic path) or window (human path) a request may ask for, which is the rule’s cap narrowed by the global ceiling. Submit enforces the same limit.
can_start_lease: Option<bool>False only when the single-active-lease constraint binds and another member holds the slot. A hint, re-checked at start; absent means true.
slot_frees_at: Option<String>When the lease holding the slot ends. Null when Bit.Services.Pam.Api.Models.Response.AccessPreCheckResponseModel.CanStartLease is true.
Implementations§
Source§impl AccessPreCheckResponseModel
impl AccessPreCheckResponseModel
Sourcepub fn new() -> AccessPreCheckResponseModel
pub fn new() -> AccessPreCheckResponseModel
The approval outcome a request for this cipher would get, so the client can offer the right form before submitting.
Trait Implementations§
Source§impl Clone for AccessPreCheckResponseModel
impl Clone for AccessPreCheckResponseModel
Source§fn clone(&self) -> AccessPreCheckResponseModel
fn clone(&self) -> AccessPreCheckResponseModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AccessPreCheckResponseModel
impl Debug for AccessPreCheckResponseModel
Source§impl Default for AccessPreCheckResponseModel
impl Default for AccessPreCheckResponseModel
Source§fn default() -> AccessPreCheckResponseModel
fn default() -> AccessPreCheckResponseModel
Source§impl<'de> Deserialize<'de> for AccessPreCheckResponseModel
impl<'de> Deserialize<'de> for AccessPreCheckResponseModel
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>,
impl StructuralPartialEq for AccessPreCheckResponseModel
Auto Trait Implementations§
impl Freeze for AccessPreCheckResponseModel
impl RefUnwindSafe for AccessPreCheckResponseModel
impl Send for AccessPreCheckResponseModel
impl Sync for AccessPreCheckResponseModel
impl Unpin for AccessPreCheckResponseModel
impl UnsafeUnpin for AccessPreCheckResponseModel
impl UnwindSafe for AccessPreCheckResponseModel
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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