pub struct HubCollaborationsManager { /* private fields */ }Expand description
Operations for the “hub_collaborations” API area.
Implementations§
Source§impl HubCollaborationsManager
impl HubCollaborationsManager
Sourcepub fn list(
&self,
hub_id: String,
opts: Option<HubCollaborationsListOptions>,
) -> HubCollaborationsListPaginator
pub fn list( &self, hub_id: String, opts: Option<HubCollaborationsListOptions>, ) -> HubCollaborationsListPaginator
Iterate every crate::models::schemas::HubCollaboration across pages, threading the cursor.
pub async fn create( &self, body: HubCollaborationCreateRequest, ) -> Result<HubCollaboration, Error>
pub async fn get( &self, hub_collaboration_id: String, ) -> Result<HubCollaboration, Error>
pub async fn update( &self, hub_collaboration_id: String, body: HubCollaborationUpdateRequest, ) -> Result<HubCollaboration, Error>
pub async fn delete(&self, hub_collaboration_id: String) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for HubCollaborationsManager
impl !UnwindSafe for HubCollaborationsManager
impl Freeze for HubCollaborationsManager
impl Send for HubCollaborationsManager
impl Sync for HubCollaborationsManager
impl Unpin for HubCollaborationsManager
impl UnsafeUnpin for HubCollaborationsManager
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