pub struct BuildList {
pub data: Vec<Build>,
pub next_cursor: Option<String>,
}Expand description
A page of a pipeline’s builds (newest first), with an opaque cursor.
JSON schema
{
"title": "BuildList",
"description": "A page of a pipeline's builds (newest first), with an
opaque cursor.",
"type": "object",
"required": [
"data",
"next_cursor"
],
"properties": {
"data": {
"description": "The builds on this page, newest first.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Build"
}
},
"next_cursor": {
"description": "Opaque cursor for the next page. Pass it as the
`cursor` query parameter; `null` when there are no more pages.",
"type": [
"string",
"null"
]
}
}
}Fields§
§data: Vec<Build>The builds on this page, newest first.
next_cursor: Option<String>Opaque cursor for the next page. Pass it as the cursor query
parameter; null when there are no more pages.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuildList
impl<'de> Deserialize<'de> for BuildList
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuildList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuildList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BuildList
impl Serialize for BuildList
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BuildList
impl RefUnwindSafe for BuildList
impl Send for BuildList
impl Sync for BuildList
impl Unpin for BuildList
impl UnsafeUnpin for BuildList
impl UnwindSafe for BuildList
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