pub struct Parent {
pub group_id: Option<String>,
pub artifact_id: Option<String>,
pub version: Option<String>,
pub relative_path: Option<String>,
}
Fields§
§group_id: Option<String>
§artifact_id: Option<String>
§version: Option<String>
§relative_path: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Parent
impl<'de> Deserialize<'de> for Parent
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 Parent
impl ElementConverter for Parent
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 Parent
impl HasElementName for Parent
Source§fn element_name() -> &'static str
fn element_name() -> &'static str
The name of the element.
Source§impl UpdatableElement for Parent
impl UpdatableElement for Parent
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 Parent
impl StructuralPartialEq for Parent
Auto Trait Implementations§
impl Freeze for Parent
impl RefUnwindSafe for Parent
impl Send for Parent
impl Sync for Parent
impl Unpin for Parent
impl UnwindSafe for Parent
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