pub struct Integrations { /* private fields */ }Expand description
leash.integrations() — typed providers plus a generic escape hatch.
Implementations§
Source§impl Integrations
impl Integrations
Sourcepub fn google_calendar(&self) -> Calendar
pub fn google_calendar(&self) -> Calendar
Alias of Self::calendar matching the TS / Python long-form name.
Sourcepub fn google_drive(&self) -> Drive
pub fn google_drive(&self) -> Drive
Alias of Self::drive matching the TS / Python long-form name.
Sourcepub fn provider(&self, name: impl Into<String>) -> Provider
pub fn provider(&self, name: impl Into<String>) -> Provider
Generic escape hatch — call any provider action by name.
Use this for providers without typed wrappers yet (Slack, GitHub, HubSpot, Jira, Gong, Slite, BigQuery, custom MCP servers, …).
let res = client
.integrations()
.provider("slack")
.call("post_message", serde_json::json!({ "channel": "#general", "text": "hi" }))
.await?;Trait Implementations§
Source§impl Clone for Integrations
impl Clone for Integrations
Source§fn clone(&self) -> Integrations
fn clone(&self) -> Integrations
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Integrations
impl !UnwindSafe for Integrations
impl Freeze for Integrations
impl Send for Integrations
impl Sync for Integrations
impl Unpin for Integrations
impl UnsafeUnpin for Integrations
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