[−][src]Struct ics::properties::Status
STATUS
Property
Implementations
impl<'a> Status<'a>
[src]
pub fn new<S>(value: S) -> Self where
S: Into<Cow<'a, str>>,
[src]
S: Into<Cow<'a, str>>,
Creates a new STATUS
Property with the given value.
pub fn tentative() -> Self
[src]
Status
for a tentative event
Property Value: TENTATIVE
pub fn confirmed() -> Self
[src]
Status
for a definite event
Property Value: CONFIRMED
pub fn cancelled() -> Self
[src]
Status
for a cancelled Event, To-Do or Journal
Property Value: CANCELLED
pub fn needs_action() -> Self
[src]
Status
for a To-Do that needs action
Property Value: NEEDS-ACTION
pub fn completed() -> Self
[src]
Status
for a completed To-Do
Property Value: COMPLETED
pub fn in_process() -> Self
[src]
Status
for an in-process To-Do
Property Value: IN-PROCESS
pub fn draft() -> Self
[src]
Status
for a draft Journal
Property Value: DRAFT
pub fn final_() -> Self
[src]
Status
for a final Journal
Property Value: FINAL
pub fn add<P>(&mut self, parameter: P) where
P: Into<Parameter<'a>>,
[src]
P: Into<Parameter<'a>>,
Adds a parameter to the property.
pub fn append(&mut self, parameters: Parameters<'a>)
[src]
Adds several parameters at once to the property. For creating
several parameters at once, consult the documentation of
the parameters!
macro.
Trait Implementations
impl<'a> Clone for Status<'a>
[src]
impl<'a> Debug for Status<'a>
[src]
impl<'a> Eq for Status<'a>
[src]
impl<'a> From<Status<'a>> for Property<'a>
[src]
impl<'a> Hash for Status<'a>
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a> Ord for Status<'a>
[src]
pub fn cmp(&self, other: &Status<'a>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a> PartialEq<Status<'a>> for Status<'a>
[src]
impl<'a> PartialOrd<Status<'a>> for Status<'a>
[src]
pub fn partial_cmp(&self, other: &Status<'a>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Status<'a>) -> bool
[src]
pub fn le(&self, other: &Status<'a>) -> bool
[src]
pub fn gt(&self, other: &Status<'a>) -> bool
[src]
pub fn ge(&self, other: &Status<'a>) -> bool
[src]
impl<'a> StructuralEq for Status<'a>
[src]
impl<'a> StructuralPartialEq for Status<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Status<'a>
impl<'a> Send for Status<'a>
impl<'a> Sync for Status<'a>
impl<'a> Unpin for Status<'a>
impl<'a> UnwindSafe for Status<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,