pub enum Target {
Project(String),
Group(String),
}
Expand description
Either a Group or a Project
Variants§
Implementations§
Source§impl Target
impl Target
pub fn url_for_list(&self, base: &Url) -> FetchResult<Url>
pub fn url_for_item(&self, base: &Url, variable: &Variable) -> FetchResult<Url>
Trait Implementations§
Source§impl From<&CommonArgs> for Target
impl From<&CommonArgs> for Target
Source§fn from(args: &CommonArgs) -> Self
fn from(args: &CommonArgs) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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