pub struct Kontext { /* private fields */ }Implementations§
Source§impl Kontext
impl Kontext
pub fn new(options: KontextOptions) -> Self
pub fn client(&self) -> &KontextDevClient
pub async fn require( &self, integration: impl Into<IntegrationName>, gateway_access_token: &str, ) -> Result<IntegrationResolvedCredentials, KontextDevError>
pub async fn require_credentials( &self, integration: impl Into<IntegrationName>, gateway_access_token: &str, ) -> Result<IntegrationCredential, KontextDevError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Kontext
impl !RefUnwindSafe for Kontext
impl Send for Kontext
impl Sync for Kontext
impl Unpin for Kontext
impl UnsafeUnpin for Kontext
impl !UnwindSafe for Kontext
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