pub struct KnowledgeValidityV1 {
pub valid_from: String,
pub valid_until: Option<String>,
}Expand description
Validity interval for a knowledge object.
Fields§
§valid_from: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for KnowledgeValidityV1
impl Clone for KnowledgeValidityV1
Source§impl Debug for KnowledgeValidityV1
impl Debug for KnowledgeValidityV1
Source§impl<'de> Deserialize<'de> for KnowledgeValidityV1
impl<'de> Deserialize<'de> for KnowledgeValidityV1
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 KnowledgeValidityV1
Source§impl PartialEq for KnowledgeValidityV1
impl PartialEq for KnowledgeValidityV1
Source§impl Serialize for KnowledgeValidityV1
impl Serialize for KnowledgeValidityV1
impl StructuralPartialEq for KnowledgeValidityV1
Auto Trait Implementations§
impl Forget for KnowledgeValidityV1
impl Freeze for KnowledgeValidityV1
impl Move for KnowledgeValidityV1
impl RefUnwindSafe for KnowledgeValidityV1
impl Send for KnowledgeValidityV1
impl Sync for KnowledgeValidityV1
impl Unpin for KnowledgeValidityV1
impl UnsafeUnpin for KnowledgeValidityV1
impl UnwindSafe for KnowledgeValidityV1
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