pub struct Client(/* private fields */);Implementations§
Source§impl Client
impl Client
Sourcepub fn create_session(
&self,
organization: impl Into<String>,
body: impl Into<SessionRequest>,
protocol: impl Into<String>,
project: impl Into<String>,
) -> RequestBuilder
pub fn create_session( &self, organization: impl Into<String>, body: impl Into<SessionRequest>, protocol: impl Into<String>, project: impl Into<String>, ) -> RequestBuilder
Creates a session, a wrapper around a feed that can store additional metadata on the packages published to it.
Arguments:
organization: The name of the Azure DevOps organization.body: The feed and metadata for the sessionprotocol: The protocol that the session will targetproject: Project ID or project name
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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