Enum gapi_grpc::google::cloud::functions::v1::cloud_function::SourceCode [−][src]
pub enum SourceCode { SourceArchiveUrl(String), SourceRepository(SourceRepository), SourceUploadUrl(String), }
The location of the function source code.
Variants
SourceArchiveUrl(String)
The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
SourceRepository(SourceRepository)
Beta Feature
The source repository where a function is hosted.
SourceUploadUrl(String)
The Google Cloud Storage signed URL used for source uploading, generated by [google.cloud.functions.v1.GenerateUploadUrl][]
Implementations
impl SourceCode
[src][−]
pub fn encode<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
pub fn merge<B>(
field: &mut Option<SourceCode>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
field: &mut Option<SourceCode>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
[src]
Trait Implementations
impl Clone for SourceCode
[src][+]
impl Debug for SourceCode
[src][+]
impl PartialEq<SourceCode> for SourceCode
[src][+]
impl StructuralPartialEq for SourceCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for SourceCode
impl Send for SourceCode
impl Sync for SourceCode
impl Unpin for SourceCode
impl UnwindSafe for SourceCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,