pub struct GitLabERGlobalSettings {
pub domain: String,
pub project_path: String,
pub labels: Vec<String>,
pub url_char_limit: usize,
pub title_char_limit: usize,
pub description_char_limit: usize,
}Expand description
Global configuration for GitLab issue submission.
Set once at application startup via
GitLabErrorReport::setup_global_config.
Fields§
§domain: StringGitLab domain (e.g. "gitlab.com" or "gitlab.example.com").
project_path: StringProject path (e.g. "my-group/my-project").
labels: Vec<String>Labels to apply to created issues.
url_char_limit: usizeLimit that will disable parts of the report in order to stay under this limit (if possible) Default: 2085
title_char_limit: usizeHard limit for title, title will be cut off on or before this limit. This limit takes into account character boundaries. Default: 1024
description_char_limit: usizeHard limit for description, description will be cut off on or before this limit. This limit takes into account character boundaries. Default: 1_048_576 (1MB)
Trait Implementations§
Source§impl Clone for GitLabERGlobalSettings
impl Clone for GitLabERGlobalSettings
Source§fn clone(&self) -> GitLabERGlobalSettings
fn clone(&self) -> GitLabERGlobalSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitLabERGlobalSettings
impl Debug for GitLabERGlobalSettings
Auto Trait Implementations§
impl Freeze for GitLabERGlobalSettings
impl RefUnwindSafe for GitLabERGlobalSettings
impl Send for GitLabERGlobalSettings
impl Sync for GitLabERGlobalSettings
impl Unpin for GitLabERGlobalSettings
impl UnwindSafe for GitLabERGlobalSettings
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