pub struct Namespace { /* private fields */ }Implementations§
Source§impl Namespace
impl Namespace
pub fn new( org: impl Into<String>, repo: impl Into<String>, ) -> Result<Self, Error>
pub fn on( forge: impl Into<String>, org: impl Into<String>, repo: impl Into<String>, ) -> Result<Self, Error>
pub fn forge(&self) -> Option<&str>
pub fn org(&self) -> &str
pub fn repo(&self) -> &str
pub fn stored_org(&self) -> &str
pub fn upstream(&self) -> String
pub fn url_path(&self) -> String
Trait Implementations§
impl Eq for Namespace
impl StructuralPartialEq for Namespace
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnsafeUnpin for Namespace
impl UnwindSafe for Namespace
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