pub struct DistributionManagementEditor<'a> { /* private fields */ }
Expand description
Allows for editing the Distribution Management section of a pom file
Implementations§
Source§impl<'a> DistributionManagementEditor<'a>
impl<'a> DistributionManagementEditor<'a>
pub fn get_repository( &self, ) -> Result<Option<DistributionRepositoryRepository>, XMLEditorError>
pub fn set_repository<U>(&mut self, value: U) -> Result<(), XMLEditorError>
pub fn get_snapshot_repository( &self, ) -> Result<Option<DistributionRepositorySnapshotRepository>, XMLEditorError>
pub fn set_snapshot_repository<U>( &mut self, value: U, ) -> Result<(), XMLEditorError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DistributionManagementEditor<'a>
impl<'a> RefUnwindSafe for DistributionManagementEditor<'a>
impl<'a> Send for DistributionManagementEditor<'a>
impl<'a> Sync for DistributionManagementEditor<'a>
impl<'a> Unpin for DistributionManagementEditor<'a>
impl<'a> !UnwindSafe for DistributionManagementEditor<'a>
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