pub struct Endpoint<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Endpoint<'a>
impl<'a> Endpoint<'a>
pub async fn list(
&self,
app_id: String,
options: Option<EndpointListOptions>
) -> Result<ListResponseEndpointOut>
pub async fn create(
&self,
app_id: String,
endpoint_in: EndpointIn,
options: Option<PostOptions>
) -> Result<EndpointOut>
pub async fn get(
&self,
app_id: String,
endpoint_id: String
) -> Result<EndpointOut>
pub async fn update(
&self,
app_id: String,
endpoint_id: String,
endpoint_update: EndpointUpdate,
options: Option<PostOptions>
) -> Result<EndpointOut>
pub async fn delete(&self, app_id: String, endpoint_id: String) -> Result<()>
pub async fn get_secret(
&self,
app_id: String,
endpoint_id: String
) -> Result<EndpointSecretOut>
pub async fn rotate_secret(
&self,
app_id: String,
endpoint_id: String,
endpoint_secret_rotate_in: EndpointSecretRotateIn
) -> Result<()>
pub async fn recover(
&self,
app_id: String,
endpoint_id: String,
recover_in: RecoverIn
) -> Result<()>
pub async fn get_headers(
&self,
app_id: String,
endpoint_id: String
) -> Result<EndpointHeadersOut>
pub async fn update_headers(
&self,
app_id: String,
endpoint_id: String,
endpoint_headers_in: EndpointHeadersIn
) -> Result<()>
pub async fn patch_headers(
&self,
app_id: String,
endpoint_id: String,
endpoint_headers_patch_in: EndpointHeadersPatchIn
) -> Result<()>
pub async fn get_stats(
&self,
app_id: String,
endpoint_id: String
) -> Result<EndpointStats>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Endpoint<'a>
impl<'a> Send for Endpoint<'a>
impl<'a> Sync for Endpoint<'a>
impl<'a> Unpin for Endpoint<'a>
impl<'a> !UnwindSafe for Endpoint<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more