Struct gedcomx::EventRoleBuilder [−][src]
pub struct EventRoleBuilder(_);
Implementations
pub fn source<I: TryInto<SourceReference, Error = GedcomxError>>(
&mut self,
source: I
) -> Result<&mut Self>
pub fn source<I: TryInto<SourceReference, Error = GedcomxError>>(
&mut self,
source: I
) -> Result<&mut Self>
Errors
Will return GedcomxError::NoId
if a
conversion into SourceReference
fails.
This happens if source
has no id
set.
Errors
Will return GedcomxError
if a conversion into
Document
fails. This happens if document
has no id
set or has the wrong document_type
.
Auto Trait Implementations
impl RefUnwindSafe for EventRoleBuilder
impl Send for EventRoleBuilder
impl Sync for EventRoleBuilder
impl Unpin for EventRoleBuilder
impl UnwindSafe for EventRoleBuilder