pub struct EnclosureConfig {
pub delimiters: DelimitedBy,
pub allowed: Option<Vec<String>>,
}Fields§
§delimiters: DelimitedBy§allowed: Option<Vec<String>>Restricts the contents to these values; anything goes when omitted.
Trait Implementations§
Source§impl Clone for EnclosureConfig
impl Clone for EnclosureConfig
Source§fn clone(&self) -> EnclosureConfig
fn clone(&self) -> EnclosureConfig
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 EnclosureConfig
impl Debug for EnclosureConfig
Source§impl<'de> Deserialize<'de> for EnclosureConfig
impl<'de> Deserialize<'de> for EnclosureConfig
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
Source§impl PartialEq for EnclosureConfig
impl PartialEq for EnclosureConfig
Source§fn eq(&self, other: &EnclosureConfig) -> bool
fn eq(&self, other: &EnclosureConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnclosureConfig
Auto Trait Implementations§
impl Freeze for EnclosureConfig
impl RefUnwindSafe for EnclosureConfig
impl Send for EnclosureConfig
impl Sync for EnclosureConfig
impl Unpin for EnclosureConfig
impl UnsafeUnpin for EnclosureConfig
impl UnwindSafe for EnclosureConfig
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>,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.