pub struct Endpoint { /* private fields */ }
Expand description
Represents a Durable Functions HTTP API endpoint.
Implementations§
Source§impl Endpoint
impl Endpoint
Sourcepub fn create_new_instance_url(
&self,
function_name: &str,
instance_id: Option<&str>,
) -> Url
pub fn create_new_instance_url( &self, function_name: &str, instance_id: Option<&str>, ) -> Url
Gets the “create new instance” URL from the endpoint.
Sourcepub fn status_query_url(&self, instance_id: Option<&str>) -> Url
pub fn status_query_url(&self, instance_id: Option<&str>) -> Url
Gets the “status query” URL.
Sourcepub fn purge_history_url(&self, instance_id: Option<&str>) -> Url
pub fn purge_history_url(&self, instance_id: Option<&str>) -> Url
Gets the “purge history” URL.
Sourcepub fn rewind_url(&self, instance_id: &str, reason: &str) -> Url
pub fn rewind_url(&self, instance_id: &str, reason: &str) -> Url
Gets the “rewind history” URL.
Sourcepub fn raise_event_url(&self, instance_id: &str, event_name: &str) -> Url
pub fn raise_event_url(&self, instance_id: &str, event_name: &str) -> Url
Gets the “raise event” URL.
Sourcepub fn terminate_url(&self, instance_id: &str, reason: &str) -> Url
pub fn terminate_url(&self, instance_id: &str, reason: &str) -> Url
Gets the “terminate instance” URL.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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