pub struct ReputationExportRequest {
pub destination: String,
pub rebind: Option<String>,
}Expand description
Request carried by Action::ExportReputation.
The source account is never named here: the issuer attests the identity the transport proved.
Fields§
§destination: StringIdentity the attestation will name, as 64 lowercase hex characters.
rebind: Option<String>A rebind authorisation serialised as event JSON, signed by the
identity the account is currently bound to, when destination is a
different one. See
crate::reputation::ReputationRebind.
Trait Implementations§
Source§impl Clone for ReputationExportRequest
impl Clone for ReputationExportRequest
Source§impl Debug for ReputationExportRequest
impl Debug for ReputationExportRequest
Source§impl<'de> Deserialize<'de> for ReputationExportRequest
impl<'de> Deserialize<'de> for ReputationExportRequest
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 ReputationExportRequest
Source§impl PartialEq for ReputationExportRequest
impl PartialEq for ReputationExportRequest
Source§impl Serialize for ReputationExportRequest
impl Serialize for ReputationExportRequest
impl StructuralPartialEq for ReputationExportRequest
Auto Trait Implementations§
impl Freeze for ReputationExportRequest
impl RefUnwindSafe for ReputationExportRequest
impl Send for ReputationExportRequest
impl Sync for ReputationExportRequest
impl Unpin for ReputationExportRequest
impl UnsafeUnpin for ReputationExportRequest
impl UnwindSafe for ReputationExportRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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