Struct gapi_grpc::google::api::servicemanagement::v1::ConfigFile[][src]

pub struct ConfigFile {
    pub file_path: String,
    pub file_contents: Vec<u8>,
    pub file_type: i32,
}

Generic specification of a source configuration file

Fields

file_path: String

The file name of the configuration file (full or relative path).

file_contents: Vec<u8>

The bytes that constitute the file.

file_type: i32

The type of configuration file this represents.

Implementations

impl ConfigFile[src]

pub fn file_type(&self) -> FileType[src]

Returns the enum value of file_type, or the default if the field is set to an invalid enum value.

pub fn set_file_type(&mut self, value: FileType)[src]

Sets file_type to the provided enum value.

Trait Implementations

impl Clone for ConfigFile[src]

impl Debug for ConfigFile[src]

impl Default for ConfigFile[src]

impl Message for ConfigFile[src]

impl PartialEq<ConfigFile> for ConfigFile[src]

impl StructuralPartialEq for ConfigFile[src]

Auto Trait Implementations

impl RefUnwindSafe for ConfigFile

impl Send for ConfigFile

impl Sync for ConfigFile

impl Unpin for ConfigFile

impl UnwindSafe for ConfigFile

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]