#[non_exhaustive]pub struct GetSpokeRequest {
pub name: String,
/* private fields */
}Expand description
The request for HubService.GetSpoke.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the spoke resource.
Implementations§
Trait Implementations§
Source§impl Clone for GetSpokeRequest
impl Clone for GetSpokeRequest
Source§fn clone(&self) -> GetSpokeRequest
fn clone(&self) -> GetSpokeRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetSpokeRequest
impl Debug for GetSpokeRequest
Source§impl Default for GetSpokeRequest
impl Default for GetSpokeRequest
Source§fn default() -> GetSpokeRequest
fn default() -> GetSpokeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSpokeRequestwhere
GetSpokeRequest: Default,
impl<'de> Deserialize<'de> for GetSpokeRequestwhere
GetSpokeRequest: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for GetSpokeRequest
impl Message for GetSpokeRequest
Source§impl PartialEq for GetSpokeRequest
impl PartialEq for GetSpokeRequest
Source§impl Serialize for GetSpokeRequest
impl Serialize for GetSpokeRequest
impl StructuralPartialEq for GetSpokeRequest
Auto Trait Implementations§
impl Freeze for GetSpokeRequest
impl RefUnwindSafe for GetSpokeRequest
impl Send for GetSpokeRequest
impl Sync for GetSpokeRequest
impl Unpin for GetSpokeRequest
impl UnwindSafe for GetSpokeRequest
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