pub struct Client<S = Root> { /* private fields */ }
Implementations§
Source§impl<S: Scope> Client<S>
impl<S: Scope> Client<S>
pub fn builder(url: Url) -> ClientBuilder<S>
pub fn new_scoped(url: Url) -> Result<Self>
Source§impl Client<Root>
impl Client<Root>
pub fn new(url: Url) -> Result<Self>
pub fn user(&self, _: &UserContext) -> User<'_, Root>
pub fn repository<'a>( &'a self, _: &'a RepositoryContext, ) -> Repository<'_, Root>
pub fn tag<'a>(&'a self, _: &'a TagContext) -> Tag<'_, Root>
pub fn tree<'a>(&'a self, _: &'a TreeContext) -> Node<'_, Root>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Client<S>
impl<S = Root> !RefUnwindSafe for Client<S>
impl<S> Send for Client<S>where
S: Send,
impl<S> Sync for Client<S>where
S: Sync,
impl<S> Unpin for Client<S>where
S: Unpin,
impl<S = Root> !UnwindSafe for Client<S>
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