[][src]Struct protobuf::well_known_types::SourceContext

pub struct SourceContext {
    pub file_name: String,
    // some fields omitted
}

Fields

file_name: String

Methods

impl SourceContext[src]

pub fn new() -> SourceContext[src]

pub fn default_instance() -> &'static SourceContext[src]

pub fn clear_file_name(&mut self)[src]

pub fn set_file_name(&mut self, v: String)[src]

pub fn mut_file_name(&mut self) -> &mut String[src]

pub fn take_file_name(&mut self) -> String[src]

pub fn get_file_name(&self) -> &str[src]

Trait Implementations

impl Message for SourceContext[src]

impl MessageStatic for SourceContext[src]

impl Clear for SourceContext[src]

impl ProtobufValue for SourceContext[src]

impl Default for SourceContext[src]

impl Sync for SourceContext[src]

impl Clone for SourceContext[src]

impl PartialEq<SourceContext> for SourceContext[src]

impl Debug for SourceContext[src]

Auto Trait Implementations

impl Send for SourceContext

impl Unpin for SourceContext

impl UnwindSafe for SourceContext

impl !RefUnwindSafe for SourceContext

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]