pub struct HostedPushResultFields {
pub success: bool,
pub new_state: Option<String>,
pub error: Option<String>,
}Expand description
Caller-mapped hosted push transport fields (no wire/protobuf types).
Map from transport success / new_state / error before invoking pure
parse helpers. State is already stringified by the caller (full or short).
Fields§
§success: bool§new_state: Option<String>§error: Option<String>Trait Implementations§
Source§impl Clone for HostedPushResultFields
impl Clone for HostedPushResultFields
Source§fn clone(&self) -> HostedPushResultFields
fn clone(&self) -> HostedPushResultFields
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 HostedPushResultFields
impl Debug for HostedPushResultFields
impl Eq for HostedPushResultFields
Source§impl PartialEq for HostedPushResultFields
impl PartialEq for HostedPushResultFields
impl StructuralPartialEq for HostedPushResultFields
Auto Trait Implementations§
impl Freeze for HostedPushResultFields
impl RefUnwindSafe for HostedPushResultFields
impl Send for HostedPushResultFields
impl Sync for HostedPushResultFields
impl Unpin for HostedPushResultFields
impl UnsafeUnpin for HostedPushResultFields
impl UnwindSafe for HostedPushResultFields
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