pub struct NamedSessionSpec {
pub id: String,
pub timezone: Option<String>,
pub span: SessionSpanSpec,
pub weekdays: BTreeSet<u8>,
}Fields§
§id: String§timezone: Option<String>§span: SessionSpanSpec§weekdays: BTreeSet<u8>Trait Implementations§
Source§impl Clone for NamedSessionSpec
impl Clone for NamedSessionSpec
Source§impl Debug for NamedSessionSpec
impl Debug for NamedSessionSpec
Source§impl<'de> Deserialize<'de> for NamedSessionSpec
impl<'de> Deserialize<'de> for NamedSessionSpec
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
impl Eq for NamedSessionSpec
Source§impl PartialEq for NamedSessionSpec
impl PartialEq for NamedSessionSpec
Source§impl Serialize for NamedSessionSpec
impl Serialize for NamedSessionSpec
impl StructuralPartialEq for NamedSessionSpec
Auto Trait Implementations§
impl Freeze for NamedSessionSpec
impl RefUnwindSafe for NamedSessionSpec
impl Send for NamedSessionSpec
impl Sync for NamedSessionSpec
impl Unpin for NamedSessionSpec
impl UnsafeUnpin for NamedSessionSpec
impl UnwindSafe for NamedSessionSpec
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.