Struct rusty_secrets::proto::wrapped::SecretProto [−][src]
pub struct SecretProto {
pub version: VersionProto,
pub secret: Vec<u8>,
pub mime_type: String,
// some fields omitted
}Fields
version: VersionProto
secret: Vec<u8>
mime_type: String
Methods
impl SecretProto[src]
impl SecretProtopub fn new() -> SecretProto[src]
pub fn new() -> SecretProtopub fn default_instance() -> &'static SecretProto[src]
pub fn default_instance() -> &'static SecretProtopub fn clear_version(&mut self)[src]
pub fn clear_version(&mut self)pub fn set_version(&mut self, v: VersionProto)[src]
pub fn set_version(&mut self, v: VersionProto)pub fn get_version(&self) -> VersionProto[src]
pub fn get_version(&self) -> VersionProtopub fn clear_secret(&mut self)[src]
pub fn clear_secret(&mut self)pub fn set_secret(&mut self, v: Vec<u8>)[src]
pub fn set_secret(&mut self, v: Vec<u8>)pub fn mut_secret(&mut self) -> &mut Vec<u8>[src]
pub fn mut_secret(&mut self) -> &mut Vec<u8>pub fn take_secret(&mut self) -> Vec<u8>[src]
pub fn take_secret(&mut self) -> Vec<u8>pub fn get_secret(&self) -> &[u8][src]
pub fn get_secret(&self) -> &[u8]pub fn clear_mime_type(&mut self)[src]
pub fn clear_mime_type(&mut self)pub fn set_mime_type(&mut self, v: String)[src]
pub fn set_mime_type(&mut self, v: String)pub fn mut_mime_type(&mut self) -> &mut String[src]
pub fn mut_mime_type(&mut self) -> &mut Stringpub fn take_mime_type(&mut self) -> String[src]
pub fn take_mime_type(&mut self) -> Stringpub fn get_mime_type(&self) -> &str[src]
pub fn get_mime_type(&self) -> &strTrait Implementations
impl PartialEq for SecretProto[src]
impl PartialEq for SecretProtofn eq(&self, other: &SecretProto) -> bool[src]
fn eq(&self, other: &SecretProto) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SecretProto) -> bool[src]
fn ne(&self, other: &SecretProto) -> boolThis method tests for !=.
impl Clone for SecretProto[src]
impl Clone for SecretProtofn clone(&self) -> SecretProto[src]
fn clone(&self) -> SecretProtoReturns 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 SecretProto[src]
impl Default for SecretProtofn default() -> SecretProto[src]
fn default() -> SecretProtoReturns the "default value" for a type. Read more
impl Sync for SecretProto[src]
impl Sync for SecretProtoimpl Message for SecretProto[src]
impl Message for SecretProtofn 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 SecretProto[src]
impl MessageStatic for SecretProtofn new() -> SecretProto[src]
fn new() -> SecretProtofn descriptor_static(_: Option<SecretProto>) -> &'static MessageDescriptor[src]
fn descriptor_static(_: Option<SecretProto>) -> &'static MessageDescriptorimpl Clear for SecretProto[src]
impl Clear for SecretProtoimpl Debug for SecretProto[src]
impl Debug for SecretProtofn 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 SecretProto[src]
impl ProtobufValue for SecretProtofn 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 SecretProto
impl Send for SecretProto