[−][src]Struct sn0int::api::Client
Methods
impl Client
[src]
impl Client
pub fn new(config: &Config) -> Result<Client> | [src] |
pub fn authenticate<I: Into<String>>(&mut self, session: I) | [src] |
pub fn random_session() -> String | [src] |
pub fn request<T: DeserializeOwned + Debug>( | [src] |
pub fn get<T: DeserializeOwned + Debug>(&self, url: &str) -> Result<T> | [src] |
pub fn get_with<T, S>(&self, url: &str, query: &S) -> Result<T> where | [src] |
pub fn post<T, S>(&self, url: &str, body: &S) -> Result<T> where | [src] |
pub fn verify_session(&self) -> Result<String> | [src] |
pub fn publish_module( | [src] |
pub fn download_module( | [src] |
pub fn query_module(&self, module: &ModuleID) -> Result<ModuleInfoResponse> | [src] |
pub fn search(&self, query: &str) -> Result<Vec<SearchResponse>> | [src] |
pub fn quickstart(&self) -> Result<Vec<ModuleInfoResponse>> | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where | [src] |
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where | [src] |
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> Erased for T
impl<T> Erased for T