pub struct RawParameter<S: StringStorage> {
pub name: S,
pub values: Vec<RawParameterValue<S>>,
pub span: S::Span,
}Expand description
A parsed iCalendar parameter (e.g., TZID=America/New_York)
Fields§
§name: SParameter name (e.g., “TZID”, “VALUE”, “CN”, “ROLE”, “PARTSTAT”)
values: Vec<RawParameterValue<S>>Parameter values split by commas
span: S::SpanSpan of the entire parameter (from name to last value)
Implementations§
Source§impl RawParameter<Segments<'_>>
impl RawParameter<Segments<'_>>
Sourcepub fn to_owned(&self) -> RawParameter<String>
pub fn to_owned(&self) -> RawParameter<String>
Convert borrowed type to owned type
Trait Implementations§
Source§impl<S: Clone + StringStorage> Clone for RawParameter<S>
impl<S: Clone + StringStorage> Clone for RawParameter<S>
Source§fn clone(&self) -> RawParameter<S>
fn clone(&self) -> RawParameter<S>
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<S: Debug + StringStorage> Debug for RawParameter<S>
impl<S: Debug + StringStorage> Debug for RawParameter<S>
Auto Trait Implementations§
impl<S> Freeze for RawParameter<S>
impl<S> RefUnwindSafe for RawParameter<S>
impl<S> Send for RawParameter<S>
impl<S> Sync for RawParameter<S>
impl<S> Unpin for RawParameter<S>
impl<S> UnwindSafe for RawParameter<S>
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<'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.