#[non_exhaustive]pub struct RouteAuthorizeResponse {
pub outcome: RouteAuthorizeOutcome,
pub content_version: Option<String>,
pub route_open_code: Option<String>,
pub message: String,
/* private fields */
}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.outcome: RouteAuthorizeOutcome§content_version: Option<String>§route_open_code: Option<String>§message: StringImplementations§
Source§impl RouteAuthorizeResponse
impl RouteAuthorizeResponse
pub fn new( outcome: RouteAuthorizeOutcome, message: impl Into<String>, ) -> RouteAuthorizeResponse
Trait Implementations§
Source§impl Clone for RouteAuthorizeResponse
impl Clone for RouteAuthorizeResponse
Source§fn clone(&self) -> RouteAuthorizeResponse
fn clone(&self) -> RouteAuthorizeResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RouteAuthorizeResponse
impl Debug for RouteAuthorizeResponse
Source§impl<'de> Deserialize<'de> for RouteAuthorizeResponse
impl<'de> Deserialize<'de> for RouteAuthorizeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RouteAuthorizeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RouteAuthorizeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RouteAuthorizeResponse
Source§impl PartialEq for RouteAuthorizeResponse
impl PartialEq for RouteAuthorizeResponse
Source§impl Serialize for RouteAuthorizeResponse
impl Serialize for RouteAuthorizeResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RouteAuthorizeResponse
Auto Trait Implementations§
impl Forget for RouteAuthorizeResponse
impl Freeze for RouteAuthorizeResponse
impl Move for RouteAuthorizeResponse
impl RefUnwindSafe for RouteAuthorizeResponse
impl Send for RouteAuthorizeResponse
impl Sync for RouteAuthorizeResponse
impl Unpin for RouteAuthorizeResponse
impl UnsafeUnpin for RouteAuthorizeResponse
impl UnwindSafe for RouteAuthorizeResponse
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