pub struct SplitSegmentUse {
pub separator: String,
pub last: bool,
}Expand description
The rendered text is ONE SEGMENT of the source string split by a literal
separator (regexSplit ":" . -1 | last extracting a port suffix): the
sink schema constrains that segment, never the whole raw value.
Fields§
§separator: StringLiteral delimiter used to split the source string.
last: boolThe LAST segment when true, the first otherwise.
Trait Implementations§
Source§impl Clone for SplitSegmentUse
impl Clone for SplitSegmentUse
Source§fn clone(&self) -> SplitSegmentUse
fn clone(&self) -> SplitSegmentUse
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 SplitSegmentUse
impl Debug for SplitSegmentUse
Source§impl<'de> Deserialize<'de> for SplitSegmentUse
impl<'de> Deserialize<'de> for SplitSegmentUse
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 SplitSegmentUse
Source§impl Hash for SplitSegmentUse
impl Hash for SplitSegmentUse
Source§impl Ord for SplitSegmentUse
impl Ord for SplitSegmentUse
Source§fn cmp(&self, other: &SplitSegmentUse) -> Ordering
fn cmp(&self, other: &SplitSegmentUse) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for SplitSegmentUse
impl PartialEq for SplitSegmentUse
Source§impl PartialOrd for SplitSegmentUse
impl PartialOrd for SplitSegmentUse
Source§impl Serialize for SplitSegmentUse
impl Serialize for SplitSegmentUse
impl StructuralPartialEq for SplitSegmentUse
Auto Trait Implementations§
impl Freeze for SplitSegmentUse
impl RefUnwindSafe for SplitSegmentUse
impl Send for SplitSegmentUse
impl Sync for SplitSegmentUse
impl Unpin for SplitSegmentUse
impl UnsafeUnpin for SplitSegmentUse
impl UnwindSafe for SplitSegmentUse
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