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 ShareProtopub fn new() -> ShareProto[src]
pub fn new() -> ShareProtopub fn default_instance() -> &'static ShareProto[src]
pub fn default_instance() -> &'static ShareProtopub 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 ShareProtofn eq(&self, other: &ShareProto) -> bool[src]
fn eq(&self, other: &ShareProto) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for ShareProto[src]
impl Clone for ShareProtofn clone(&self) -> ShareProto[src]
fn clone(&self) -> ShareProtoReturns 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 ShareProtofn default() -> ShareProto[src]
fn default() -> ShareProtoReturns the "default value" for a type. Read more
impl Sync for ShareProto[src]
impl Sync for ShareProtoimpl Message for ShareProto[src]
impl Message for ShareProtofn is_initialized(&self) -> bool[src]
fn is_initialized(&self) -> boolfn 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) -> u32fn 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) -> u32fn get_unknown_fields(&self) -> &UnknownFields[src]
fn get_unknown_fields(&self) -> &UnknownFieldsfn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFieldsfn as_any(&self) -> &Any[src]
fn as_any(&self) -> &Anyfn as_any_mut(&mut self) -> &mut Any[src]
fn as_any_mut(&mut self) -> &mut Anyfn 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 MessageDescriptorfn 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) -> TypeIdimpl MessageStatic for ShareProto[src]
impl MessageStatic for ShareProtofn new() -> ShareProto[src]
fn new() -> ShareProtofn descriptor_static(_: Option<ShareProto>) -> &'static MessageDescriptor[src]
fn descriptor_static(_: Option<ShareProto>) -> &'static MessageDescriptorimpl Clear for ShareProto[src]
impl Clear for ShareProtoimpl Debug for ShareProto[src]
impl Debug for ShareProtofn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ProtobufValue for ShareProto[src]
impl ProtobufValue for ShareProtofn as_ref(&self) -> ProtobufValueRef[src]
fn as_ref(&self) -> ProtobufValueReffn as_any(&self) -> &(Any + 'static)
fn as_any(&self) -> &(Any + 'static)fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> boolfn as_ref_copy(&self) -> ProtobufValueRef<'static>
fn as_ref_copy(&self) -> ProtobufValueRef<'static>Auto Trait Implementations
impl Send for ShareProto
impl Send for ShareProto