pub struct Developer {
pub id: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub url: Option<String>,
pub organization: Option<String>,
pub organization_url: Option<String>,
pub timezone: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
§email: Option<String>
§url: Option<String>
§organization: Option<String>
§organization_url: Option<String>
§timezone: Option<String>
Implementations§
Trait Implementations§
Source§impl ChildOfListElement for Developer
impl ChildOfListElement for Developer
fn parent_element_name() -> &'static str
Source§impl ComparableElement for Developer
impl ComparableElement for Developer
Source§fn is_same_item(&self, other: &Self) -> bool
fn is_same_item(&self, other: &Self) -> bool
Checks if the current element is the same as the other element.
Some implementations may only check a subset of fields. Such as Dependency only checking the group id and artifact id.
Source§impl<'de> Deserialize<'de> for Developer
impl<'de> Deserialize<'de> for Developer
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
Source§impl ElementConverter for Developer
impl ElementConverter for Developer
Source§fn from_element(
element: Element,
document: &Document,
) -> Result<Self, XMLEditorError>
fn from_element( element: Element, document: &Document, ) -> Result<Self, XMLEditorError>
Converts an [Element] to the specific type.
Source§fn into_children(
self,
document: &mut Document,
) -> Result<Vec<Element>, XMLEditorError>
fn into_children( self, document: &mut Document, ) -> Result<Vec<Element>, XMLEditorError>
Creates all children of the current type.
Source§fn into_element(
self,
document: &mut Document,
) -> Result<Element, XMLEditorError>where
Self: HasElementName,
fn into_element(
self,
document: &mut Document,
) -> Result<Element, XMLEditorError>where
Self: HasElementName,
Creates an [Element] from the current type. Read more
Source§impl HasElementName for Developer
impl HasElementName for Developer
Source§fn element_name() -> &'static str
fn element_name() -> &'static str
The name of the element.
Source§impl UpdatableElement for Developer
impl UpdatableElement for Developer
fn update_element( &self, element: Element, document: &mut Document, ) -> Result<(), XMLEditorError>
Source§fn replace_all_elements(
self,
element: Element,
document: &mut Document,
) -> Result<(), XMLEditorError>
fn replace_all_elements( self, element: Element, document: &mut Document, ) -> Result<(), XMLEditorError>
Replaces all children of the element with the children of the current element.
impl Eq for Developer
impl StructuralPartialEq for Developer
Auto Trait Implementations§
impl Freeze for Developer
impl RefUnwindSafe for Developer
impl Send for Developer
impl Sync for Developer
impl Unpin for Developer
impl UnwindSafe for Developer
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