Struct google_api_proto::google::cloud::functions::v1::SourceRepository
source · pub struct SourceRepository {
pub url: String,
pub deployed_url: String,
}
Expand description
Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.
Fields§
§url: String
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats:
To refer to a specific commit:
<https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*
>
To refer to a moveable alias (branch):
<https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*
>
In particular, to refer to HEAD use master
moveable alias.
To refer to a specific fixed alias (tag):
<https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*
>
You may omit paths/*
if you want to use the main directory. The function
response may add an empty /paths/
to the URL.
deployed_url: String
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
Trait Implementations§
source§impl Clone for SourceRepository
impl Clone for SourceRepository
source§fn clone(&self) -> SourceRepository
fn clone(&self) -> SourceRepository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceRepository
impl Debug for SourceRepository
source§impl Default for SourceRepository
impl Default for SourceRepository
source§impl Message for SourceRepository
impl Message for SourceRepository
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SourceRepository
impl PartialEq for SourceRepository
source§fn eq(&self, other: &SourceRepository) -> bool
fn eq(&self, other: &SourceRepository) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceRepository
Auto Trait Implementations§
impl Freeze for SourceRepository
impl RefUnwindSafe for SourceRepository
impl Send for SourceRepository
impl Sync for SourceRepository
impl Unpin for SourceRepository
impl UnwindSafe for SourceRepository
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request