pub struct ListStepsQuery {
pub agent_role: String,
pub page: Option<u32>,
pub per_page: Option<u32>,
}Expand description
Query parameters for GET /api/v1/steps.
§Examples
use ironflow_api::entities::ListStepsQuery;
let query = ListStepsQuery {
agent_role: "Reviewer".to_string(),
page: None,
per_page: Some(50),
};
assert_eq!(query.agent_role, "Reviewer");Fields§
§agent_role: StringName of the AgentRole whose agent steps to list, across every run and
workflow. Matched exactly. Required.
page: Option<u32>Page number (1-based, default 1).
per_page: Option<u32>Items per page (default 20, max 100).
Trait Implementations§
Source§impl Debug for ListStepsQuery
impl Debug for ListStepsQuery
Source§impl<'de> Deserialize<'de> for ListStepsQuery
impl<'de> Deserialize<'de> for ListStepsQuery
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
Auto Trait Implementations§
impl Freeze for ListStepsQuery
impl RefUnwindSafe for ListStepsQuery
impl Send for ListStepsQuery
impl Sync for ListStepsQuery
impl Unpin for ListStepsQuery
impl UnsafeUnpin for ListStepsQuery
impl UnwindSafe for ListStepsQuery
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