Struct modio::mods::Dependencies
source · pub struct Dependencies { /* private fields */ }
Expand description
Interface for dependencies.
Implementations§
source§impl Dependencies
impl Dependencies
sourcepub async fn list(self) -> Result<Vec<Dependency>>
pub async fn list(self) -> Result<Vec<Dependency>>
List mod dependencies.
sourcepub async fn iter(self) -> Result<impl Stream<Item = Result<Dependency>>>
pub async fn iter(self) -> Result<impl Stream<Item = Result<Dependency>>>
Provides a stream over all mod dependencies.
sourcepub async fn add(self, options: EditDependenciesOptions) -> Result<()>
pub async fn add(self, options: EditDependenciesOptions) -> Result<()>
Add mod dependencies. [required: token]
sourcepub async fn delete(self, options: EditDependenciesOptions) -> Result<Deletion>
pub async fn delete(self, options: EditDependenciesOptions) -> Result<Deletion>
Delete mod dependencies. [required: token]
Trait Implementations§
source§impl Clone for Dependencies
impl Clone for Dependencies
source§fn clone(&self) -> Dependencies
fn clone(&self) -> Dependencies
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Dependencies
impl !RefUnwindSafe for Dependencies
impl Send for Dependencies
impl Sync for Dependencies
impl Unpin for Dependencies
impl !UnwindSafe for Dependencies
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