pub struct RejectHubSpokeRequest {
pub details: Option<String>,
pub request_id: Option<String>,
pub spoke_uri: Option<String>,
}Expand description
The request for HubService.RejectHubSpoke.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§details: Option<String>Optional. Additional information provided by the hub administrator.
request_id: Option<String>Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn’t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
spoke_uri: Option<String>Required. The URI of the spoke to reject from the hub.
Trait Implementations§
Source§impl Clone for RejectHubSpokeRequest
impl Clone for RejectHubSpokeRequest
Source§fn clone(&self) -> RejectHubSpokeRequest
fn clone(&self) -> RejectHubSpokeRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RejectHubSpokeRequest
impl Debug for RejectHubSpokeRequest
Source§impl Default for RejectHubSpokeRequest
impl Default for RejectHubSpokeRequest
Source§fn default() -> RejectHubSpokeRequest
fn default() -> RejectHubSpokeRequest
Source§impl<'de> Deserialize<'de> for RejectHubSpokeRequest
impl<'de> Deserialize<'de> for RejectHubSpokeRequest
Source§fn 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>,
Source§impl Serialize for RejectHubSpokeRequest
impl Serialize for RejectHubSpokeRequest
impl RequestValue for RejectHubSpokeRequest
Auto Trait Implementations§
impl Freeze for RejectHubSpokeRequest
impl RefUnwindSafe for RejectHubSpokeRequest
impl Send for RejectHubSpokeRequest
impl Sync for RejectHubSpokeRequest
impl Unpin for RejectHubSpokeRequest
impl UnwindSafe for RejectHubSpokeRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more