pub struct TimeDescription {
pub timing: Timing,
pub repeat_times: Vec<RepeatTime>,
pub time_zones: Vec<TimeZone>,
}Expand description
TimeDescription describes the “t=”, “r=” and “z=” fields of the session description, which specify the start and stop times of a session, its repeat intervals and durations, and the time zone adjustments of those repetitions.
RFC 8866 section 9: time-description = time-field [repeat-description],
repeat-description = 1*repeat-field [zone-field].
Fields§
§timing: Timingt=<start-time> <stop-time>
repeat_times: Vec<RepeatTime>r=<repeat interval> <active duration> <offsets from start-time>
time_zones: Vec<TimeZone>z=<adjustment time> <offset> <adjustment time> <offset> ...
The zone adjustments of this time description’s repetitions. Written after the r=
lines.
Trait Implementations§
Source§impl Clone for TimeDescription
impl Clone for TimeDescription
Source§impl Debug for TimeDescription
impl Debug for TimeDescription
Auto Trait Implementations§
impl Forget for TimeDescription
impl Freeze for TimeDescription
impl Move for TimeDescription
impl RefUnwindSafe for TimeDescription
impl Send for TimeDescriptionwhere
RawVecInner: Send,
impl Sync for TimeDescriptionwhere
RawVecInner: Sync,
impl Unpin for TimeDescription
impl UnsafeUnpin for TimeDescriptionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<RepeatTime>: UnsafeUnpin,
PhantomData<TimeZone>: UnsafeUnpin,
impl UnwindSafe for TimeDescriptionwhere
RawVecInner: UnwindSafe,
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