[−][src]Struct hubcaps::issues::IssueLabels
Provides access to label operations available for an individual issue
Implementations
impl IssueLabels
[src]
pub fn add(&self, labels: Vec<&str>) -> Future<Vec<Label>>
[src]
add a set of labels to this issue ref
pub fn remove(&self, label: &str) -> Future<()>
[src]
remove a label from this issue
pub fn set(&self, labels: Vec<&str>) -> Future<Vec<Label>>
[src]
replace all labels associated with this issue with a new set. providing an empty set of labels is the same as clearing the current labels
pub fn clear(&self) -> Future<()>
[src]
remove all labels from an issue
Auto Trait Implementations
impl !RefUnwindSafe for IssueLabels
impl Send for IssueLabels
impl Sync for IssueLabels
impl Unpin for IssueLabels
impl !UnwindSafe for IssueLabels
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,