pub struct IssueDiagnostics { /* private fields */ }Expand description
Issue-only allowlist. Paths require a separately sanitized, explicit opt-in projection; this type cannot receive local errors, logs or runtime state.
Implementations§
Source§impl IssueDiagnostics
impl IssueDiagnostics
pub fn new( product_id: impl Into<String>, app_version: impl Into<String>, ) -> Self
pub fn with_build( self, channel: impl Into<String>, commit: impl Into<String>, ) -> Self
pub fn with_platform( self, os: impl Into<String>, architecture: impl Into<String>, ) -> Self
pub fn with_active_board(self, id: impl Into<String>) -> Self
pub fn with_appearance( self, theme_id: impl Into<String>, icon_size: impl Into<String>, ) -> Self
pub fn with_paths(self, paths: IssuePaths) -> Self
pub fn without_paths(self) -> Self
pub fn paths(&self) -> Option<&IssuePaths>
pub fn product_id(&self) -> &str
pub fn app_version(&self) -> &str
pub fn channel(&self) -> Option<&str>
pub fn commit(&self) -> Option<&str>
pub fn os(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
pub fn active_board(&self) -> Option<&str>
pub fn theme_id(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for IssueDiagnostics
impl Clone for IssueDiagnostics
Source§impl Debug for IssueDiagnostics
impl Debug for IssueDiagnostics
Source§impl From<BuildIdentity> for IssueDiagnostics
impl From<BuildIdentity> for IssueDiagnostics
Source§fn from(identity: BuildIdentity) -> Self
fn from(identity: BuildIdentity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for IssueDiagnostics
impl Freeze for IssueDiagnostics
impl Move for IssueDiagnostics
impl RefUnwindSafe for IssueDiagnostics
impl Send for IssueDiagnosticswhere
RawVecInner: Send,
impl Sync for IssueDiagnosticswhere
RawVecInner: Sync,
impl Unpin for IssueDiagnostics
impl UnsafeUnpin for IssueDiagnostics
impl UnwindSafe for IssueDiagnosticswhere
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