Struct launchpadlib::v1_0::ProjectGroups
source · pub struct ProjectGroups(/* private fields */);Expand description
The collection of projects.
Implementations§
source§impl ProjectGroups
impl ProjectGroups
sourcepub fn iter<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, ProjectGroupPage>, Error>
pub fn iter<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, ProjectGroupPage>, Error>
Get a paged collection of ProjectGroupPage.
sourcepub fn search<'a>(
&self,
client: &'a dyn Client,
text: Option<&String>
) -> Result<PagedCollection<'a, ProjectGroupPage>, Error>
pub fn search<'a>( &self, client: &'a dyn Client, text: Option<&String> ) -> Result<PagedCollection<'a, ProjectGroupPage>, Error>
Search through the Registry database for projects that match the query terms. text is a piece of text in the title / summary / description fields of project (and possibly product). soyuz, bazaar, malone etc are hints as to whether the search should be limited to projects that are active in those Launchpad applications.
Arguments
text: Search text
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ProjectGroups
impl Send for ProjectGroups
impl Sync for ProjectGroups
impl Unpin for ProjectGroups
impl UnwindSafe for ProjectGroups
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