pub struct ListPendingChanges<'a> { /* private fields */ }Expand description
Builder for Client::list_pending_changes
Implementations§
Source§impl<'a> ListPendingChanges<'a>
impl<'a> ListPendingChanges<'a>
pub fn new(client: &'a Client) -> Self
pub fn id_or_name<V>(self, value: V) -> Selfwhere
V: TryInto<ProjectIdOrNamePathParam>,
pub fn status<V>(self, value: V) -> Selfwhere
V: TryInto<ListPendingChangesStatus>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<ListPendingChangesWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<PendingChangesResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<PendingChangesResponse>, Error<ApiError>>
Sends a GET request to /v1/projects/{idOrName}/pending-changes
Trait Implementations§
Source§impl<'a> Clone for ListPendingChanges<'a>
impl<'a> Clone for ListPendingChanges<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ListPendingChanges<'a>
impl<'a> !UnwindSafe for ListPendingChanges<'a>
impl<'a> Forget for ListPendingChanges<'a>
impl<'a> Freeze for ListPendingChanges<'a>
impl<'a> Move for ListPendingChanges<'a>
impl<'a> Send for ListPendingChanges<'a>
impl<'a> Sync for ListPendingChanges<'a>
impl<'a> Unpin for ListPendingChanges<'a>
impl<'a> UnsafeUnpin for ListPendingChanges<'a>
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