Struct moksha_core::model::PostSplitResponse
source · pub struct PostSplitResponse {
pub fst: Option<Vec<BlindedSignature>>,
pub snd: Option<Vec<BlindedSignature>>,
pub promises: Option<Vec<BlindedSignature>>,
}Fields§
§fst: Option<Vec<BlindedSignature>>§snd: Option<Vec<BlindedSignature>>§promises: Option<Vec<BlindedSignature>>Implementations§
source§impl PostSplitResponse
impl PostSplitResponse
pub fn with_promises(promises: Vec<BlindedSignature>) -> Self
pub fn with_fst_and_snd( fst: Vec<BlindedSignature>, snd: Vec<BlindedSignature> ) -> Self
Trait Implementations§
source§impl Clone for PostSplitResponse
impl Clone for PostSplitResponse
source§fn clone(&self) -> PostSplitResponse
fn clone(&self) -> PostSplitResponse
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 PostSplitResponse
impl Debug for PostSplitResponse
source§impl Default for PostSplitResponse
impl Default for PostSplitResponse
source§fn default() -> PostSplitResponse
fn default() -> PostSplitResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PostSplitResponse
impl<'de> Deserialize<'de> for PostSplitResponse
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
Auto Trait Implementations§
impl RefUnwindSafe for PostSplitResponse
impl Send for PostSplitResponse
impl Sync for PostSplitResponse
impl Unpin for PostSplitResponse
impl UnwindSafe for PostSplitResponse
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