Struct google_clouddebugger2::api::SourceContext
source · pub struct SourceContext {
pub cloud_repo: Option<CloudRepoSourceContext>,
pub cloud_workspace: Option<CloudWorkspaceSourceContext>,
pub gerrit: Option<GerritSourceContext>,
pub git: Option<GitSourceContext>,
}
Expand description
A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cloud_repo: Option<CloudRepoSourceContext>
A SourceContext referring to a revision in a cloud repo.
cloud_workspace: Option<CloudWorkspaceSourceContext>
A SourceContext referring to a snapshot in a cloud workspace.
gerrit: Option<GerritSourceContext>
A SourceContext referring to a Gerrit project.
git: Option<GitSourceContext>
A SourceContext referring to any third party Git repo (e.g. GitHub).
Trait Implementations§
source§impl Clone for SourceContext
impl Clone for SourceContext
source§fn clone(&self) -> SourceContext
fn clone(&self) -> SourceContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SourceContext
impl Debug for SourceContext
source§impl Default for SourceContext
impl Default for SourceContext
source§fn default() -> SourceContext
fn default() -> SourceContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SourceContext
impl<'de> Deserialize<'de> for SourceContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SourceContext
impl Serialize for SourceContext
impl Part for SourceContext
Auto Trait Implementations§
impl RefUnwindSafe for SourceContext
impl Send for SourceContext
impl Sync for SourceContext
impl Unpin for SourceContext
impl UnwindSafe for SourceContext
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
Mutably borrows from an owned value. Read more