pub struct CharmRecipeBuildPage {
pub resource_type_link: Option<Url>,
pub total_size: usize,
pub start: usize,
pub next_collection_link: Option<Url>,
pub prev_collection_link: Option<Url>,
pub entries: Vec<CharmRecipeBuildFull>,
pub entry_links: Option<Url>,
}Expand description
Representation of the charm_recipe_build-page resource
Fields§
§resource_type_link: Option<Url>§total_size: usize§start: usize§next_collection_link: Option<Url>§prev_collection_link: Option<Url>§entries: Vec<CharmRecipeBuildFull>§entry_links: Option<Url>Implementations§
Source§impl CharmRecipeBuildPage
impl CharmRecipeBuildPage
pub fn next<'a>( &'a self, client: &'a dyn Client, ) -> Result<Option<PagedCollection<'a, CharmRecipeBuildPage>>, Error>
pub fn prev<'a>( &'a self, client: &'a dyn Client, ) -> Result<Option<PagedCollection<'a, CharmRecipeBuildPage>>, Error>
pub fn entry_links(&self) -> Option<CharmRecipeBuild>
pub fn set_entry_links(&mut self, value: Option<CharmRecipeBuild>)
Trait Implementations§
Source§impl Clone for CharmRecipeBuildPage
impl Clone for CharmRecipeBuildPage
Source§fn clone(&self) -> CharmRecipeBuildPage
fn clone(&self) -> CharmRecipeBuildPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CharmRecipeBuildPage
impl Debug for CharmRecipeBuildPage
Source§impl<'de> Deserialize<'de> for CharmRecipeBuildPage
impl<'de> Deserialize<'de> for CharmRecipeBuildPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Page for CharmRecipeBuildPage
impl Page for CharmRecipeBuildPage
Source§type Item = CharmRecipeBuildFull
type Item = CharmRecipeBuildFull
The type of item in the page.
Source§fn next<'a>(&'a self, client: &'a dyn Client) -> Result<Option<Self>, Error>
fn next<'a>(&'a self, client: &'a dyn Client) -> Result<Option<Self>, Error>
Return the next page, if any.
Source§fn prev<'a>(&'a self, client: &'a dyn Client) -> Result<Option<Self>, Error>
fn prev<'a>(&'a self, client: &'a dyn Client) -> Result<Option<Self>, Error>
Return the previous page, if any.
Source§fn total_size(&self) -> Option<usize>
fn total_size(&self) -> Option<usize>
Return the total number of entries in the page collection
Source§fn entries(&self) -> Vec<CharmRecipeBuildFull>
fn entries(&self) -> Vec<CharmRecipeBuildFull>
Get the entries on this page.
Source§impl PartialEq for CharmRecipeBuildPage
impl PartialEq for CharmRecipeBuildPage
Source§impl Serialize for CharmRecipeBuildPage
impl Serialize for CharmRecipeBuildPage
impl StructuralPartialEq for CharmRecipeBuildPage
Auto Trait Implementations§
impl Freeze for CharmRecipeBuildPage
impl RefUnwindSafe for CharmRecipeBuildPage
impl Send for CharmRecipeBuildPage
impl Sync for CharmRecipeBuildPage
impl Unpin for CharmRecipeBuildPage
impl UnwindSafe for CharmRecipeBuildPage
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