pub struct ConditionComment<'a> {
pub locale: &'a str,
pub text: &'a str,
}Expand description
Optional localized operator comment applied to the state identified by an EventId.
Pass None to preserve the existing comment, or a locale with empty text to clear it.
Fields§
§locale: &'a strLocale identifier of the supplied text, for example "en-US".
text: &'a strOperator comment in the supplied locale.
Trait Implementations§
Source§impl<'a> Clone for ConditionComment<'a>
impl<'a> Clone for ConditionComment<'a>
impl<'a> Copy for ConditionComment<'a>
Auto Trait Implementations§
impl<'a> Forget for ConditionComment<'a>
impl<'a> Freeze for ConditionComment<'a>
impl<'a> Move for ConditionComment<'a>
impl<'a> RefUnwindSafe for ConditionComment<'a>
impl<'a> Send for ConditionComment<'a>
impl<'a> Sync for ConditionComment<'a>
impl<'a> Unpin for ConditionComment<'a>
impl<'a> UnsafeUnpin for ConditionComment<'a>
impl<'a> UnwindSafe for ConditionComment<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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