[][src]Struct bitbucket::client::Client

pub struct Client {
    pub token: String,
    pub disable_ssl: bool,
    pub skip_ssl_verification: bool,
    pub api_url: String,
}

Fields

token: Stringdisable_ssl: boolskip_ssl_verification: boolapi_url: String

Methods

impl Client[src]

pub fn new(
    token: String,
    api_url: String,
    skip_ssl_verification: bool,
    disable_ssl: bool
) -> Self
[src]

pub fn projects(self) -> Project[src]

pub fn repositories(self) -> Repository[src]

Trait Implementations

impl Debug for Client[src]

impl Default for Client[src]

impl<'de> Deserialize<'de> for Client[src]

impl Serialize for Client[src]

Auto Trait Implementations

impl RefUnwindSafe for Client

impl Send for Client

impl Sync for Client

impl Unpin for Client

impl UnwindSafe for Client

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.