pub struct ApiVisibilityReviewPage { /* private fields */ }Expand description
One bounded page of canonical reviews for a logical resource.
Implementations§
Source§impl ApiVisibilityReviewPage
impl ApiVisibilityReviewPage
Sourcepub fn resource_scope(&self) -> &EntityId
pub fn resource_scope(&self) -> &EntityId
Returns the resource whose incoming relations were scanned.
Sourcepub fn reviews(&self) -> &[ApiVisibilityReview]
pub fn reviews(&self) -> &[ApiVisibilityReview]
Returns canonical reviews found inside this bounded relation window.
Sourcepub const fn scanned_relations(&self) -> u16
pub const fn scanned_relations(&self) -> u16
Returns the number of incoming relations consumed from the scan budget.
Sourcepub fn next_after_relation_id(&self) -> Option<&RelationId>
pub fn next_after_relation_id(&self) -> Option<&RelationId>
Returns the exclusive opaque cursor for the next page when more relations exist.
This may identify an inspected relation that was structurally rejected
and therefore absent from Self::reviews. Treat it as a non-secret,
capability-scoped continuation value rather than domain data.
Sourcepub fn next_cursor(
&self,
) -> Result<Option<ApiVisibilityReviewCursor>, ApiObservationError>
pub fn next_cursor( &self, ) -> Result<Option<ApiVisibilityReviewCursor>, ApiObservationError>
Derives the resource-bound v2 continuation token for the next page.
The returned token is deterministic and redacted from Debug and
Display, but is not signed. A transport may authenticate its serialized
form before exposing it outside a trusted host boundary.
Sourcepub fn into_reviews(self) -> Vec<ApiVisibilityReview>
pub fn into_reviews(self) -> Vec<ApiVisibilityReview>
Takes the canonical reviews without cloning them.
Trait Implementations§
Source§impl Clone for ApiVisibilityReviewPage
impl Clone for ApiVisibilityReviewPage
Source§fn clone(&self) -> ApiVisibilityReviewPage
fn clone(&self) -> ApiVisibilityReviewPage
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 ApiVisibilityReviewPage
impl Debug for ApiVisibilityReviewPage
impl Eq for ApiVisibilityReviewPage
Source§impl PartialEq for ApiVisibilityReviewPage
impl PartialEq for ApiVisibilityReviewPage
Source§impl Serialize for ApiVisibilityReviewPage
impl Serialize for ApiVisibilityReviewPage
impl StructuralPartialEq for ApiVisibilityReviewPage
Auto Trait Implementations§
impl Freeze for ApiVisibilityReviewPage
impl RefUnwindSafe for ApiVisibilityReviewPage
impl Send for ApiVisibilityReviewPage
impl Sync for ApiVisibilityReviewPage
impl Unpin for ApiVisibilityReviewPage
impl UnsafeUnpin for ApiVisibilityReviewPage
impl UnwindSafe for ApiVisibilityReviewPage
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.