pub struct AccessRequestSummaryView {
pub id: AccessRequestId,
pub cipher_id: CipherId,
pub collection_id: CollectionId,
pub organization_id: Option<OrganizationId>,
pub status: AccessRequestStatus,
pub lease_not_before: DateTime<Utc>,
pub lease_not_after: DateTime<Utc>,
pub reason: Option<String>,
pub submitted_at: DateTime<Utc>,
}Expand description
A decrypted view of an access request as its requester sees it right after submitting it.
A lighter sibling of AccessRequestView: the create response doesn’t carry a decision log,
pinned rule, produced-lease linkage, or denormalized requester identity, since none of those
exist yet for a request that was just opened.
Fields§
§id: AccessRequestIdThe request’s unique identifier.
cipher_id: CipherIdThe cipher access was requested for.
collection_id: CollectionIdThe collection the cipher belongs to, through which the request is governed.
organization_id: Option<OrganizationId>The organization that owns the cipher. None when the server omits it.
status: AccessRequestStatusThe request’s lifecycle state.
lease_not_before: DateTime<Utc>The start of the activation window resolved at submit (UTC).
lease_not_after: DateTime<Utc>The end of the activation window resolved at submit (UTC).
reason: Option<String>The optional justification the requester supplied when opening the request.
submitted_at: DateTime<Utc>When the request was opened (UTC).
Trait Implementations§
Source§impl Clone for AccessRequestSummaryView
impl Clone for AccessRequestSummaryView
Source§fn clone(&self) -> AccessRequestSummaryView
fn clone(&self) -> AccessRequestSummaryView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AccessRequestSummaryView
impl Debug for AccessRequestSummaryView
Source§impl<'de> Deserialize<'de> for AccessRequestSummaryView
impl<'de> Deserialize<'de> for AccessRequestSummaryView
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 From<AccessRequestSummaryView> for JsValuewhere
AccessRequestSummaryView: Serialize,
impl From<AccessRequestSummaryView> for JsValuewhere
AccessRequestSummaryView: Serialize,
Source§fn from(value: AccessRequestSummaryView) -> Self
fn from(value: AccessRequestSummaryView) -> Self
Source§impl FromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
impl FromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
impl IntoWasmAbi for &AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
Source§impl IntoWasmAbi for AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
impl IntoWasmAbi for AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
Source§impl OptionFromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
impl OptionIntoWasmAbi for AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
Source§impl PartialEq for AccessRequestSummaryView
impl PartialEq for AccessRequestSummaryView
Source§impl RefFromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
Self are recovered from.Source§type Anchor = SelfOwner<AccessRequestSummaryView>
type Anchor = SelfOwner<AccessRequestSummaryView>
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for AccessRequestSummaryView
impl Serialize for AccessRequestSummaryView
Source§impl TryFrom<AccessRequestDetailsResponseModel> for AccessRequestSummaryView
impl TryFrom<AccessRequestDetailsResponseModel> for AccessRequestSummaryView
Source§impl Tsify for AccessRequestSummaryView
impl Tsify for AccessRequestSummaryView
const DECL: &'static str = "/**\n * A decrypted view of an access request as its requester sees it right after submitting it.\n *\n * A lighter sibling of [`AccessRequestView`]: the create response doesn\\\'t carry a decision log,\n * pinned rule, produced-lease linkage, or denormalized requester identity, since none of those\n * exist yet for a request that was just opened.\n */\nexport interface AccessRequestSummaryView {\n /**\n * The request\\\'s unique identifier.\n */\n id: AccessRequestId;\n /**\n * The cipher access was requested for.\n */\n cipherId: CipherId;\n /**\n * The collection the cipher belongs to, through which the request is governed.\n */\n collectionId: CollectionId;\n /**\n * The organization that owns the cipher. None when the server omits it.\n */\n organizationId: OrganizationId | undefined;\n /**\n * The request\\\'s lifecycle state.\n */\n status: AccessRequestStatus;\n /**\n * The start of the activation window resolved at submit (UTC).\n */\n leaseNotBefore: DateTime<Utc>;\n /**\n * The end of the activation window resolved at submit (UTC).\n */\n leaseNotAfter: DateTime<Utc>;\n /**\n * The optional justification the requester supplied when opening the request.\n */\n reason: string | undefined;\n /**\n * When the request was opened (UTC).\n */\n submittedAt: DateTime<Utc>;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for AccessRequestSummaryViewwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
impl VectorIntoWasmAbi for AccessRequestSummaryViewwhere
AccessRequestSummaryView: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
impl StructuralPartialEq for AccessRequestSummaryView
Auto Trait Implementations§
impl Freeze for AccessRequestSummaryView
impl RefUnwindSafe for AccessRequestSummaryView
impl Send for AccessRequestSummaryView
impl Sync for AccessRequestSummaryView
impl Unpin for AccessRequestSummaryView
impl UnsafeUnpin for AccessRequestSummaryView
impl UnwindSafe for AccessRequestSummaryView
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§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.