pub struct PipelinesResource<'c> { /* private fields */ }Implementations§
Source§impl PipelinesResource<'_>
impl PipelinesResource<'_>
Sourcepub async fn list(&self) -> Result<Vec<Value>, PulseError>
pub async fn list(&self) -> Result<Vec<Value>, PulseError>
GET /api/pulse/pipelines — every pipeline in the current org.
Sourcepub async fn get(&self, pipeline_id: &str) -> Result<Value, PulseError>
pub async fn get(&self, pipeline_id: &str) -> Result<Value, PulseError>
GET /api/pulse/pipelines/{id} — one pipeline by id.
Trait Implementations§
Auto Trait Implementations§
impl<'c> Freeze for PipelinesResource<'c>
impl<'c> !RefUnwindSafe for PipelinesResource<'c>
impl<'c> Send for PipelinesResource<'c>
impl<'c> Sync for PipelinesResource<'c>
impl<'c> Unpin for PipelinesResource<'c>
impl<'c> UnsafeUnpin for PipelinesResource<'c>
impl<'c> !UnwindSafe for PipelinesResource<'c>
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