pub struct ReadonlySegment {
pub command: String,
pub redirects: Vec<&'static str>,
pub join: Option<ReadonlyJoin>,
/* private fields */
}Expand description
One admitted command of a read-only composition.
Fields§
§command: StringThe command text with the admitted redirect words removed. Quoting is preserved; split it with a POSIX word splitter.
redirects: Vec<&'static str>Admitted redirect words, canonical spelling, in source order.
join: Option<ReadonlyJoin>The operator that follows this segment; None for the last one.
Trait Implementations§
Source§impl Clone for ReadonlySegment
impl Clone for ReadonlySegment
Source§impl Debug for ReadonlySegment
impl Debug for ReadonlySegment
impl Eq for ReadonlySegment
Source§impl PartialEq for ReadonlySegment
impl PartialEq for ReadonlySegment
impl StructuralPartialEq for ReadonlySegment
Auto Trait Implementations§
impl Freeze for ReadonlySegment
impl RefUnwindSafe for ReadonlySegment
impl Send for ReadonlySegment
impl Sync for ReadonlySegment
impl Unpin for ReadonlySegment
impl UnsafeUnpin for ReadonlySegment
impl UnwindSafe for ReadonlySegment
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<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.