pub struct ObjectConcat<'i>(pub &'i [&'i str]);
Expand description
Concatenation of strings with object escaping rules.
Escaping rules:
- as-is, if does not contain “ or space
- surround “ and escape “ with “”
Tuple Fields§
§0: &'i [&'i str]
Trait Implementations§
Source§impl<'i> Clone for ObjectConcat<'i>
impl<'i> Clone for ObjectConcat<'i>
Source§fn clone(&self) -> ObjectConcat<'i>
fn clone(&self) -> ObjectConcat<'i>
Returns a copy 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<'i> Debug for ObjectConcat<'i>
impl<'i> Debug for ObjectConcat<'i>
Source§impl Display for ObjectConcat<'_>
impl Display for ObjectConcat<'_>
Source§impl<'i> Ord for ObjectConcat<'i>
impl<'i> Ord for ObjectConcat<'i>
Source§fn cmp(&self, other: &ObjectConcat<'i>) -> Ordering
fn cmp(&self, other: &ObjectConcat<'i>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'i> PartialEq for ObjectConcat<'i>
impl<'i> PartialEq for ObjectConcat<'i>
Source§impl<'i> PartialOrd for ObjectConcat<'i>
impl<'i> PartialOrd for ObjectConcat<'i>
impl<'i> Copy for ObjectConcat<'i>
impl<'i> Eq for ObjectConcat<'i>
impl<'i> StructuralPartialEq for ObjectConcat<'i>
Auto Trait Implementations§
impl<'i> Freeze for ObjectConcat<'i>
impl<'i> RefUnwindSafe for ObjectConcat<'i>
impl<'i> Send for ObjectConcat<'i>
impl<'i> Sync for ObjectConcat<'i>
impl<'i> Unpin for ObjectConcat<'i>
impl<'i> UnwindSafe for ObjectConcat<'i>
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more