pub struct DistributionRepositorySnapshotRepository(/* private fields */);
Implementations§
Source§impl DistributionRepositorySnapshotRepository
impl DistributionRepositorySnapshotRepository
pub fn new(repository: DistributionRepository) -> Self
Trait Implementations§
Source§impl ComparableElement for DistributionRepositorySnapshotRepository
impl ComparableElement for DistributionRepositorySnapshotRepository
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 ElementConverter for DistributionRepositorySnapshotRepository
impl ElementConverter for DistributionRepositorySnapshotRepository
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 From<DistributionRepository> for DistributionRepositorySnapshotRepository
impl From<DistributionRepository> for DistributionRepositorySnapshotRepository
Source§fn from(repository: DistributionRepository) -> Self
fn from(repository: DistributionRepository) -> Self
Converts to this type from the input type.
Source§impl HasElementName for DistributionRepositorySnapshotRepository
impl HasElementName for DistributionRepositorySnapshotRepository
Source§fn element_name() -> &'static str
fn element_name() -> &'static str
The name of the element.
Source§impl UpdatableElement for DistributionRepositorySnapshotRepository
impl UpdatableElement for DistributionRepositorySnapshotRepository
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.
Auto Trait Implementations§
impl Freeze for DistributionRepositorySnapshotRepository
impl RefUnwindSafe for DistributionRepositorySnapshotRepository
impl Send for DistributionRepositorySnapshotRepository
impl Sync for DistributionRepositorySnapshotRepository
impl Unpin for DistributionRepositorySnapshotRepository
impl UnwindSafe for DistributionRepositorySnapshotRepository
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