#[non_exhaustive]pub struct ExamplesRestrictionsNamespace {
pub namespace_name: String,
pub allow: Vec<String>,
pub deny: Vec<String>,
/* private fields */
}Available on crate feature
prediction-service only.Expand description
Restrictions namespace for example-based explanations overrides.
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.namespace_name: StringThe namespace name.
allow: Vec<String>The list of allowed tags.
deny: Vec<String>The list of deny tags.
Implementations§
Source§impl ExamplesRestrictionsNamespace
impl ExamplesRestrictionsNamespace
Trait Implementations§
Source§impl Clone for ExamplesRestrictionsNamespace
impl Clone for ExamplesRestrictionsNamespace
Source§fn clone(&self) -> ExamplesRestrictionsNamespace
fn clone(&self) -> ExamplesRestrictionsNamespace
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 Default for ExamplesRestrictionsNamespace
impl Default for ExamplesRestrictionsNamespace
Source§fn default() -> ExamplesRestrictionsNamespace
fn default() -> ExamplesRestrictionsNamespace
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExamplesRestrictionsNamespace
impl PartialEq for ExamplesRestrictionsNamespace
Source§fn eq(&self, other: &ExamplesRestrictionsNamespace) -> bool
fn eq(&self, other: &ExamplesRestrictionsNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExamplesRestrictionsNamespace
Auto Trait Implementations§
impl Freeze for ExamplesRestrictionsNamespace
impl RefUnwindSafe for ExamplesRestrictionsNamespace
impl Send for ExamplesRestrictionsNamespace
impl Sync for ExamplesRestrictionsNamespace
impl Unpin for ExamplesRestrictionsNamespace
impl UnwindSafe for ExamplesRestrictionsNamespace
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