pub struct AsyncVersions { /* private fields */ }Implementations§
Source§impl AsyncVersions
impl AsyncVersions
pub fn new(jira: &AsyncJira) -> Self
Sourcepub async fn project_versions(
&self,
project_id_or_key: &str,
) -> Result<Vec<Version>>
pub async fn project_versions( &self, project_id_or_key: &str, ) -> Result<Vec<Version>>
Fetch all versions associated to the given project
See jira docs for more information
Sourcepub async fn create<T: Into<String>>(
&self,
project_id: u64,
name: T,
) -> Result<Version>
pub async fn create<T: Into<String>>( &self, project_id: u64, name: T, ) -> Result<Version>
Create a new version
See jira docs for more information
Sourcepub async fn move_after<T: Into<String>>(
&self,
version: &Version,
after: T,
) -> Result<Version>
pub async fn move_after<T: Into<String>>( &self, version: &Version, after: T, ) -> Result<Version>
Move a version after another version
See jira docs for more information
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncVersions
impl !UnwindSafe for AsyncVersions
impl Freeze for AsyncVersions
impl Send for AsyncVersions
impl Sync for AsyncVersions
impl Unpin for AsyncVersions
impl UnsafeUnpin for AsyncVersions
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