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 SecretProto
pub fn new() -> SecretProto
[src]
pub fn new() -> SecretProto
pub fn default_instance() -> &'static SecretProto
[src]
pub fn default_instance() -> &'static SecretProto
pub 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) -> VersionProto
pub 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 String
pub fn take_mime_type(&mut self) -> String
[src]
pub fn take_mime_type(&mut self) -> String
pub fn get_mime_type(&self) -> &str
[src]
pub fn get_mime_type(&self) -> &str
Trait Implementations
impl PartialEq for SecretProto
[src]
impl PartialEq for SecretProto
fn eq(&self, other: &SecretProto) -> bool
[src]
fn eq(&self, other: &SecretProto) -> bool
This 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) -> bool
This method tests for !=
.
impl Clone for SecretProto
[src]
impl Clone for SecretProto
fn clone(&self) -> SecretProto
[src]
fn clone(&self) -> SecretProto
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 SecretProto
[src]
impl Default for SecretProto
fn default() -> SecretProto
[src]
fn default() -> SecretProto
Returns the "default value" for a type. Read more
impl Sync for SecretProto
[src]
impl Sync for SecretProto
impl Message for SecretProto
[src]
impl Message for SecretProto
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 SecretProto
[src]
impl MessageStatic for SecretProto
fn new() -> SecretProto
[src]
fn new() -> SecretProto
fn descriptor_static(_: Option<SecretProto>) -> &'static MessageDescriptor
[src]
fn descriptor_static(_: Option<SecretProto>) -> &'static MessageDescriptor
impl Clear for SecretProto
[src]
impl Clear for SecretProto
impl Debug for SecretProto
[src]
impl Debug for SecretProto
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 SecretProto
[src]
impl ProtobufValue for SecretProto
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 SecretProto
impl Send for SecretProto