pub struct AcceptHubSpokeRequest {
pub request_id: Option<String>,
pub spoke_uri: Option<String>,
}Expand description
The request for HubService.AcceptHubSpoke.
§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§
§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 accept into the hub.
Trait Implementations§
Source§impl Clone for AcceptHubSpokeRequest
impl Clone for AcceptHubSpokeRequest
Source§fn clone(&self) -> AcceptHubSpokeRequest
fn clone(&self) -> AcceptHubSpokeRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AcceptHubSpokeRequest
impl Debug for AcceptHubSpokeRequest
Source§impl Default for AcceptHubSpokeRequest
impl Default for AcceptHubSpokeRequest
Source§fn default() -> AcceptHubSpokeRequest
fn default() -> AcceptHubSpokeRequest
Source§impl<'de> Deserialize<'de> for AcceptHubSpokeRequest
impl<'de> Deserialize<'de> for AcceptHubSpokeRequest
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 AcceptHubSpokeRequest
impl Serialize for AcceptHubSpokeRequest
impl RequestValue for AcceptHubSpokeRequest
Auto Trait Implementations§
impl Freeze for AcceptHubSpokeRequest
impl RefUnwindSafe for AcceptHubSpokeRequest
impl Send for AcceptHubSpokeRequest
impl Sync for AcceptHubSpokeRequest
impl Unpin for AcceptHubSpokeRequest
impl UnwindSafe for AcceptHubSpokeRequest
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