pub struct ViewApplyResult { /* private fields */ }Expand description
The read-only result of applying a plan (data-model §6).
issue_numbers is the applied issue set in board order (visible columns, then
hidden columns, then the mismatched pseudo-column); board is the existing
board summary the filter path produced. Nothing here can write: the corpus and
config were borrowed, and the result owns copies only.
Implementations§
Source§impl ViewApplyResult
impl ViewApplyResult
Sourcepub fn view_id(&self) -> Option<&ViewId>
pub fn view_id(&self) -> Option<&ViewId>
The stable view that was applied, when the caller selected one.
Sourcepub fn issue_numbers(&self) -> &[u32]
pub fn issue_numbers(&self) -> &[u32]
The applied issue set, in board order.
Sourcepub const fn board(&self) -> &BoardState
pub const fn board(&self) -> &BoardState
The board the existing filter path built.
Sourcepub fn diagnostics(&self) -> &[ViewDiagnostic]
pub fn diagnostics(&self) -> &[ViewDiagnostic]
Unknown-metadata notices carried out of the plan.
Trait Implementations§
Source§impl Clone for ViewApplyResult
impl Clone for ViewApplyResult
Auto Trait Implementations§
impl Freeze for ViewApplyResult
impl RefUnwindSafe for ViewApplyResult
impl Send for ViewApplyResult
impl Sync for ViewApplyResult
impl Unpin for ViewApplyResult
impl UnsafeUnpin for ViewApplyResult
impl UnwindSafe for ViewApplyResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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