Struct gedcomx::Qualifier [−][src]
Expand description
Used to supply additional details, annotations, tags, or other qualifying data to a specific data element.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Uri
The name of the qualifier. The name should be an element of a constrained vocabulary and is used to determine meaning of the qualifier.
value: Option<String>
The value of the qualifier. Some qualifiers may not have values, indicating that the qualifier is to be treated more like a “tag”.
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for Qualifier
[src]
impl<'de> Deserialize<'de> for Qualifier
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl YaDeserialize for Qualifier
[src]
impl YaDeserialize for Qualifier
[src]fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
[src]
impl YaSerialize for Qualifier
[src]
impl YaSerialize for Qualifier
[src]fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
[src]
fn serialize_attributes(
&self,
source_attributes: Vec<OwnedAttribute>,
source_namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
[src]
&self,
source_attributes: Vec<OwnedAttribute>,
source_namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl StructuralPartialEq for Qualifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for Qualifier
impl Send for Qualifier
impl Sync for Qualifier
impl Unpin for Qualifier
impl UnwindSafe for Qualifier
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,