#[non_exhaustive]pub struct IssueScope {
pub profile_id: String,
pub profile_name: String,
pub api_origin: String,
pub project_keys: Vec<String>,
}Expand description
The profile, API origin and project keys used to resolve references.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.profile_id: String§profile_name: String§api_origin: String§project_keys: Vec<String>Loaded project keys, including archived projects.
Implementations§
Source§impl IssueScope
impl IssueScope
pub fn new(profile_id: &str, profile_name: &str, api_origin: &str) -> Self
pub fn with_project_keys( self, keys: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Bind a navigation URL to the profile and API that resolved it.
Read a navigation target only within this exact API and profile scope.
Trait Implementations§
Source§impl Clone for IssueScope
impl Clone for IssueScope
impl Eq for IssueScope
Source§impl PartialEq for IssueScope
impl PartialEq for IssueScope
impl StructuralPartialEq for IssueScope
Auto Trait Implementations§
impl Forget for IssueScope
impl Freeze for IssueScope
impl Move for IssueScope
impl RefUnwindSafe for IssueScope
impl Send for IssueScopewhere
RawVecInner: Send,
impl Sync for IssueScopewhere
RawVecInner: Sync,
impl Unpin for IssueScope
impl UnsafeUnpin for IssueScopewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for IssueScopewhere
RawVecInner: UnwindSafe,
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