Struct rusty_secrets::proto::wrapped::ShareProto [−][src]
pub struct ShareProto { pub shamir_data: Vec<u8>, pub signature: RepeatedField<Vec<u8>>, pub proof: Vec<u8>, // some fields omitted }
Fields
shamir_data: Vec<u8>
signature: RepeatedField<Vec<u8>>
proof: Vec<u8>
Methods
impl ShareProto
[src]
impl ShareProto
pub fn new() -> ShareProto
[src]
pub fn new() -> ShareProto
pub fn default_instance() -> &'static ShareProto
[src]
pub fn default_instance() -> &'static ShareProto
pub fn clear_shamir_data(&mut self)
[src]
pub fn clear_shamir_data(&mut self)
pub fn set_shamir_data(&mut self, v: Vec<u8>)
[src]
pub fn set_shamir_data(&mut self, v: Vec<u8>)
pub fn mut_shamir_data(&mut self) -> &mut Vec<u8>
[src]
pub fn mut_shamir_data(&mut self) -> &mut Vec<u8>
pub fn take_shamir_data(&mut self) -> Vec<u8>
[src]
pub fn take_shamir_data(&mut self) -> Vec<u8>
pub fn get_shamir_data(&self) -> &[u8]
[src]
pub fn get_shamir_data(&self) -> &[u8]
pub fn clear_signature(&mut self)
[src]
pub fn clear_signature(&mut self)
pub fn set_signature(&mut self, v: RepeatedField<Vec<u8>>)
[src]
pub fn set_signature(&mut self, v: RepeatedField<Vec<u8>>)
pub fn mut_signature(&mut self) -> &mut RepeatedField<Vec<u8>>
[src]
pub fn mut_signature(&mut self) -> &mut RepeatedField<Vec<u8>>
pub fn take_signature(&mut self) -> RepeatedField<Vec<u8>>
[src]
pub fn take_signature(&mut self) -> RepeatedField<Vec<u8>>
pub fn get_signature(&self) -> &[Vec<u8>]
[src]
pub fn get_signature(&self) -> &[Vec<u8>]
pub fn clear_proof(&mut self)
[src]
pub fn clear_proof(&mut self)
pub fn set_proof(&mut self, v: Vec<u8>)
[src]
pub fn set_proof(&mut self, v: Vec<u8>)
pub fn mut_proof(&mut self) -> &mut Vec<u8>
[src]
pub fn mut_proof(&mut self) -> &mut Vec<u8>
pub fn take_proof(&mut self) -> Vec<u8>
[src]
pub fn take_proof(&mut self) -> Vec<u8>
pub fn get_proof(&self) -> &[u8]
[src]
pub fn get_proof(&self) -> &[u8]
Trait Implementations
impl PartialEq for ShareProto
[src]
impl PartialEq for ShareProto
fn eq(&self, other: &ShareProto) -> bool
[src]
fn eq(&self, other: &ShareProto) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ShareProto) -> bool
[src]
fn ne(&self, other: &ShareProto) -> bool
This method tests for !=
.
impl Clone for ShareProto
[src]
impl Clone for ShareProto
fn clone(&self) -> ShareProto
[src]
fn clone(&self) -> ShareProto
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ShareProto
[src]
impl Default for ShareProto
fn default() -> ShareProto
[src]
fn default() -> ShareProto
Returns the "default value" for a type. Read more
impl Sync for ShareProto
[src]
impl Sync for ShareProto
impl Message for ShareProto
[src]
impl Message for ShareProto
fn is_initialized(&self) -> bool
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
[src]
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
[src]
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
[src]
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
fn type_id(&self) -> TypeId
impl MessageStatic for ShareProto
[src]
impl MessageStatic for ShareProto
fn new() -> ShareProto
[src]
fn new() -> ShareProto
fn descriptor_static(_: Option<ShareProto>) -> &'static MessageDescriptor
[src]
fn descriptor_static(_: Option<ShareProto>) -> &'static MessageDescriptor
impl Clear for ShareProto
[src]
impl Clear for ShareProto
impl Debug for ShareProto
[src]
impl Debug for ShareProto
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ProtobufValue for ShareProto
[src]
impl ProtobufValue for ShareProto
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_ref(&self) -> ProtobufValueRef
fn as_any(&self) -> &(Any + 'static)
fn as_any(&self) -> &(Any + 'static)
fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Auto Trait Implementations
impl Send for ShareProto
impl Send for ShareProto