Struct ic_event_hub::api::EventHubClient
source · [−]pub struct EventHubClient {
pub canister_id: Principal,
}
Fields
canister_id: Principal
Implementations
sourceimpl EventHubClient
impl EventHubClient
pub fn new(canister_id: Principal) -> Self
pub async fn _add_event_listeners(
&self,
request: AddEventListenersRequest
) -> CallResult<()>
pub async fn _remove_event_listeners(
&self,
request: RemoveEventListenersRequest
) -> CallResult<(RemoveEventListenersResponse,)>
pub async fn _become_event_listener(
&self,
payload: BecomeEventListenerRequest
) -> CallResult<()>
pub async fn _stop_being_event_listener(
&self,
request: StopBeingEventListenerRequest
) -> CallResult<(StopBeingEventListenerResponse,)>
pub async fn _get_event_listeners(
&self,
request: GetEventListenersRequest
) -> CallResult<(GetEventListenersResponse,)>
Trait Implementations
sourceimpl CandidType for EventHubClient
impl CandidType for EventHubClient
sourceimpl<'de> Deserialize<'de> for EventHubClient
impl<'de> Deserialize<'de> for EventHubClient
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for EventHubClient
impl Send for EventHubClient
impl Sync for EventHubClient
impl Unpin for EventHubClient
impl UnwindSafe for EventHubClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more