[−][src]Struct lib::client::phabricator::PhabricatorClient
Methods
impl PhabricatorClient
[src]
pub fn clean_id(id: &str) -> &str
[src]
This function will trim 'T' at the start of phabricator id. This is to cover case when you copy-paste the phabricator id from url, e.g. yourphabhost.com/T1234
let phabricator_id = PhabricatorClient::clean_id("T1234"); assert_eq!(phabricator_id, "1234");
pub fn new(
host: &str,
api_token: &str,
cert_identity_config: Option<CertIdentityConfig>
) -> ResultDynError<PhabricatorClient>
[src]
host: &str,
api_token: &str,
cert_identity_config: Option<CertIdentityConfig>
) -> ResultDynError<PhabricatorClient>
impl PhabricatorClient
[src]
pub fn get_tasks<'a>(
&'a self,
parent_task_ids: Vec<&'a str>
) -> BoxFuture<'a, ResultDynError<Vec<Task>>>
[src]
&'a self,
parent_task_ids: Vec<&'a str>
) -> BoxFuture<'a, ResultDynError<Vec<Task>>>
Auto Trait Implementations
impl !RefUnwindSafe for PhabricatorClient
impl Send for PhabricatorClient
impl Sync for PhabricatorClient
impl Unpin for PhabricatorClient
impl !UnwindSafe for PhabricatorClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,