[−][src]Struct catalyst_protocol_sdk_rust::DfsMarketplace::BlockChallengeBroadcast
Fields
original_challenge: SingularPtrField<BlockChallengeRequest>answer: Stringchallenged_peer: SingularPtrField<PeerId>challenged_by: SingularPtrField<PeerId>unknown_fields: UnknownFieldscached_size: CachedSizeMethods
impl BlockChallengeBroadcast[src]
pub fn new() -> BlockChallengeBroadcast[src]
pub fn get_original_challenge(&self) -> &BlockChallengeRequest[src]
pub fn clear_original_challenge(&mut self)[src]
pub fn has_original_challenge(&self) -> bool[src]
pub fn set_original_challenge(&mut self, v: BlockChallengeRequest)[src]
pub fn mut_original_challenge(&mut self) -> &mut BlockChallengeRequest[src]
pub fn take_original_challenge(&mut self) -> BlockChallengeRequest[src]
pub fn get_answer(&self) -> &str[src]
pub fn clear_answer(&mut self)[src]
pub fn set_answer(&mut self, v: String)[src]
pub fn mut_answer(&mut self) -> &mut String[src]
pub fn take_answer(&mut self) -> String[src]
pub fn get_challenged_peer(&self) -> &PeerId[src]
pub fn clear_challenged_peer(&mut self)[src]
pub fn has_challenged_peer(&self) -> bool[src]
pub fn set_challenged_peer(&mut self, v: PeerId)[src]
pub fn mut_challenged_peer(&mut self) -> &mut PeerId[src]
pub fn take_challenged_peer(&mut self) -> PeerId[src]
pub fn get_challenged_by(&self) -> &PeerId[src]
pub fn clear_challenged_by(&mut self)[src]
pub fn has_challenged_by(&self) -> bool[src]
pub fn set_challenged_by(&mut self, v: PeerId)[src]
pub fn mut_challenged_by(&mut self) -> &mut PeerId[src]
pub fn take_challenged_by(&mut self) -> PeerId[src]
Trait Implementations
impl Clone for BlockChallengeBroadcast[src]
fn clone(&self) -> BlockChallengeBroadcast[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for BlockChallengeBroadcast[src]
fn default() -> BlockChallengeBroadcast[src]
impl<'a> Default for &'a BlockChallengeBroadcast[src]
fn default() -> &'a BlockChallengeBroadcast[src]
impl PartialEq<BlockChallengeBroadcast> for BlockChallengeBroadcast[src]
fn eq(&self, other: &BlockChallengeBroadcast) -> bool[src]
fn ne(&self, other: &BlockChallengeBroadcast) -> bool[src]
impl Debug for BlockChallengeBroadcast[src]
impl StructuralPartialEq for BlockChallengeBroadcast[src]
impl Message for BlockChallengeBroadcast[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> BlockChallengeBroadcast[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static BlockChallengeBroadcast[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl Clear for BlockChallengeBroadcast[src]
impl ProtobufValue for BlockChallengeBroadcast[src]
fn as_ref(&self) -> ProtobufValueRef[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]
Auto Trait Implementations
impl Send for BlockChallengeBroadcast
impl Sync for BlockChallengeBroadcast
impl Unpin for BlockChallengeBroadcast
impl UnwindSafe for BlockChallengeBroadcast
impl RefUnwindSafe for BlockChallengeBroadcast
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,