[−][src]Struct protobuf::reflect::FieldDescriptor
Methods
impl FieldDescriptor
[src]
pub fn proto(&self) -> &'static FieldDescriptorProto
[src]
pub fn name(&self) -> &'static str
[src]
pub fn is_repeated(&self) -> bool
[src]
pub fn has_field(&self, m: &dyn Message) -> bool
[src]
pub fn len_field(&self, m: &dyn Message) -> usize
[src]
pub fn get_message<'a>(&self, m: &'a dyn Message) -> &'a dyn Message
[src]
pub fn get_rep_message_item<'a>(
&self,
m: &'a dyn Message,
index: usize
) -> &'a dyn Message
[src]
&self,
m: &'a dyn Message,
index: usize
) -> &'a dyn Message
pub fn get_enum(&self, m: &dyn Message) -> &'static EnumValueDescriptor
[src]
pub fn get_rep_enum_item(
&self,
m: &dyn Message,
index: usize
) -> &'static EnumValueDescriptor
[src]
&self,
m: &dyn Message,
index: usize
) -> &'static EnumValueDescriptor
pub fn get_str<'a>(&self, m: &'a dyn Message) -> &'a str
[src]
pub fn get_rep_str<'a>(&self, m: &'a dyn Message) -> &'a [String]
[src]
pub fn get_rep_str_item<'a>(&self, m: &'a dyn Message, index: usize) -> &'a str
[src]
pub fn get_bytes<'a>(&self, m: &'a dyn Message) -> &'a [u8]
[src]
pub fn get_rep_bytes<'a>(&self, m: &'a dyn Message) -> &'a [Vec<u8>]
[src]
pub fn get_rep_bytes_item<'a>(
&self,
m: &'a dyn Message,
index: usize
) -> &'a [u8]
[src]
&self,
m: &'a dyn Message,
index: usize
) -> &'a [u8]
pub fn get_u32(&self, m: &dyn Message) -> u32
[src]
pub fn get_rep_u32<'a>(&self, m: &'a dyn Message) -> &'a [u32]
[src]
pub fn get_u64(&self, m: &dyn Message) -> u64
[src]
pub fn get_rep_u64<'a>(&self, m: &'a dyn Message) -> &'a [u64]
[src]
pub fn get_i32(&self, m: &dyn Message) -> i32
[src]
pub fn get_rep_i32<'a>(&self, m: &'a dyn Message) -> &'a [i32]
[src]
pub fn get_i64(&self, m: &dyn Message) -> i64
[src]
pub fn get_rep_i64<'a>(&self, m: &'a dyn Message) -> &'a [i64]
[src]
pub fn get_bool(&self, m: &dyn Message) -> bool
[src]
pub fn get_rep_bool<'a>(&self, m: &'a dyn Message) -> &'a [bool]
[src]
pub fn get_f32(&self, m: &dyn Message) -> f32
[src]
pub fn get_rep_f32<'a>(&self, m: &'a dyn Message) -> &'a [f32]
[src]
pub fn get_f64(&self, m: &dyn Message) -> f64
[src]
pub fn get_rep_f64<'a>(&self, m: &'a dyn Message) -> &'a [f64]
[src]
pub fn get_reflect<'a>(&self, m: &'a dyn Message) -> ReflectFieldRef<'a>
[src]
pub fn get_rep_item<'a>(
&self,
m: &'a dyn Message,
index: usize
) -> ProtobufValueRef<'a>
[src]
&self,
m: &'a dyn Message,
index: usize
) -> ProtobufValueRef<'a>
Auto Trait Implementations
impl !Send for FieldDescriptor
impl Unpin for FieldDescriptor
impl !Sync for FieldDescriptor
impl !UnwindSafe for FieldDescriptor
impl !RefUnwindSafe for FieldDescriptor
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, 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,