pub struct GetSigningKeyRequest {
pub signing_key_kind: SigningKeyKind,
pub access_key: String,
pub session_token: Option<String>,
pub request_date: Date<Utc>,
pub region: String,
pub service: String,
}
Fields
signing_key_kind: SigningKeyKind
access_key: String
session_token: Option<String>
request_date: Date<Utc>
region: String
service: String
Trait Implementations
sourceimpl<F, Fut, E> Service<GetSigningKeyRequest> for GetSigningKeyFn<F> where
F: FnMut(SigningKeyKind, String, Option<String>, Date<Utc>, String, String) -> Fut,
Fut: Future<Output = Result<(PrincipalActor, SigningKey), E>> + Send + Sync,
E: Into<BoxError>,
impl<F, Fut, E> Service<GetSigningKeyRequest> for GetSigningKeyFn<F> where
F: FnMut(SigningKeyKind, String, Option<String>, Date<Utc>, String, String) -> Fut,
Fut: Future<Output = Result<(PrincipalActor, SigningKey), E>> + Send + Sync,
E: Into<BoxError>,
type Response = (PrincipalActor, SigningKey)
type Response = (PrincipalActor, SigningKey)
Responses given by the service.
type Error = E
type Error = E
Errors produced by the service.
type Future = Fut
type Future = Fut
The future response value.
sourcefn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Returns Poll::Ready(Ok(()))
when the service is able to process requests. Read more
sourcefn call(&mut self, req: GetSigningKeyRequest) -> Self::Future
fn call(&mut self, req: GetSigningKeyRequest) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetSigningKeyRequest
impl Send for GetSigningKeyRequest
impl Sync for GetSigningKeyRequest
impl Unpin for GetSigningKeyRequest
impl UnwindSafe for GetSigningKeyRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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