pub enum UpdatePolicy {
Always,
Daily,
Interval(usize),
Never,
}
Variants§
Trait Implementations§
Source§impl Clone for UpdatePolicy
impl Clone for UpdatePolicy
Source§fn clone(&self) -> UpdatePolicy
fn clone(&self) -> UpdatePolicy
Returns a copy 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 Debug for UpdatePolicy
impl Debug for UpdatePolicy
Source§impl<'de> Deserialize<'de> for UpdatePolicy
impl<'de> Deserialize<'de> for UpdatePolicy
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UpdatePolicy
impl Display for UpdatePolicy
Source§impl FromStr for UpdatePolicy
impl FromStr for UpdatePolicy
Source§impl PartialEq for UpdatePolicy
impl PartialEq for UpdatePolicy
Source§impl PomValue for UpdatePolicy
impl PomValue for UpdatePolicy
fn from_str_for_editor(value: &str) -> Result<Self, InvalidValueError>
fn to_string_for_editor(&self) -> String
fn from_string_for_editor(value: String) -> Result<Self, InvalidValueError>
fn from_element(
element: Element,
document: &Document,
) -> Result<Self, XMLEditorError>where
Self: Sized,
Source§impl Serialize for UpdatePolicy
impl Serialize for UpdatePolicy
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for UpdatePolicy
impl Eq for UpdatePolicy
impl StructuralPartialEq for UpdatePolicy
Auto Trait Implementations§
impl Freeze for UpdatePolicy
impl RefUnwindSafe for UpdatePolicy
impl Send for UpdatePolicy
impl Sync for UpdatePolicy
impl Unpin for UpdatePolicy
impl UnwindSafe for UpdatePolicy
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