#[non_exhaustive]pub struct BindCallback {
pub params: BTreeMap<String, String>,
pub expected_state: String,
pub expected_namespace: Resource,
}Expand description
The forge’s redirect back to the bridge after a bind.
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.params: BTreeMap<String, String>The callback’s query parameters, as received.
expected_state: StringThe nonce the caller issued for this bind, looked up from its store. The adapter compares it in constant time; the caller consumes it whatever the outcome, so it is single-use.
expected_namespace: ResourceThe namespace the bind was started for. An install on any other owner is refused.
Implementations§
Trait Implementations§
Source§impl Clone for BindCallback
impl Clone for BindCallback
Source§impl Debug for BindCallback
impl Debug for BindCallback
Source§impl<'de> Deserialize<'de> for BindCallback
impl<'de> Deserialize<'de> for BindCallback
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
impl Eq for BindCallback
Source§impl PartialEq for BindCallback
impl PartialEq for BindCallback
Source§impl Serialize for BindCallback
impl Serialize for BindCallback
impl StructuralPartialEq for BindCallback
Auto Trait Implementations§
impl Freeze for BindCallback
impl RefUnwindSafe for BindCallback
impl Send for BindCallback
impl Sync for BindCallback
impl Unpin for BindCallback
impl UnsafeUnpin for BindCallback
impl UnwindSafe for BindCallback
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