pub struct WorkspaceErrorConfig {
pub codes_file: String,
pub url: Option<String>,
}Fields§
§codes_file: StringThe path to the workspace’s error codes JSON file
url: Option<String>A URL to a page that looks up the workspace’s error messages given a specific error code
Trait Implementations§
Source§impl Clone for WorkspaceErrorConfig
impl Clone for WorkspaceErrorConfig
Source§fn clone(&self) -> WorkspaceErrorConfig
fn clone(&self) -> WorkspaceErrorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkspaceErrorConfig
impl Debug for WorkspaceErrorConfig
Source§impl Default for WorkspaceErrorConfig
impl Default for WorkspaceErrorConfig
Source§impl<'de> Deserialize<'de> for WorkspaceErrorConfig
impl<'de> Deserialize<'de> for WorkspaceErrorConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkspaceErrorConfig
Source§impl PartialEq for WorkspaceErrorConfig
impl PartialEq for WorkspaceErrorConfig
Source§impl Serialize for WorkspaceErrorConfig
impl Serialize for WorkspaceErrorConfig
impl StructuralPartialEq for WorkspaceErrorConfig
Auto Trait Implementations§
impl Freeze for WorkspaceErrorConfig
impl RefUnwindSafe for WorkspaceErrorConfig
impl Send for WorkspaceErrorConfig
impl Sync for WorkspaceErrorConfig
impl Unpin for WorkspaceErrorConfig
impl UnsafeUnpin for WorkspaceErrorConfig
impl UnwindSafe for WorkspaceErrorConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.