pub struct Repository { /* private fields */ }
Implementations§
source§impl Repository
impl Repository
sourcepub fn url(&self) -> BnString
pub fn url(&self) -> BnString
String URL of the git repository where the plugin repository’s are stored
sourcepub fn plugins(&self) -> Array<RepositoryPlugin>
pub fn plugins(&self) -> Array<RepositoryPlugin>
List of RepoPlugin objects contained within this repository
pub fn plugin_by_path<S: BnStrCompatible>( &self, path: S, ) -> Option<Ref<RepositoryPlugin>>
Trait Implementations§
source§impl CoreArrayProvider for Repository
impl CoreArrayProvider for Repository
source§impl Debug for Repository
impl Debug for Repository
source§impl ToOwned for Repository
impl ToOwned for Repository
source§type Owned = Ref<Repository>
type Owned = Ref<Repository>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl !Send for Repository
impl !Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
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