Struct gedcomx::Uri [−][src]
pub struct Uri(_);
Expand description
Specified by RFC 3986.
GEDCOM X resources use the URI to reference other entities. For example, a GEDCOM X Relationship identifies a person in the relationship by referencing a URI that identifies the person. When a property (such as the person1 property of Relationship) is of data type URI, the value of the property is interpreted as a “URI Reference” as defined by RFC 3986, section 4.
Trait Implementations
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Error = GedcomxError
type Error = GedcomxError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = GedcomxError
type Error = GedcomxError
The type returned in the event of a conversion error.
Performs the conversion.
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations
impl RefUnwindSafe for Uri
impl UnwindSafe for Uri
Blanket Implementations
Mutably borrows from an owned value. Read more