Struct sentry::protocol::RepoReference
source · pub struct RepoReference {
pub name: String,
pub prefix: Option<String>,
pub revision: Option<String>,
}
Expand description
Represents a repository reference.
Fields§
§name: String
The name of the repository as it is registered in Sentry.
prefix: Option<String>
The optional prefix path to apply to source code when pairing it up with files in the repository.
revision: Option<String>
The optional current revision of the local repository.
Trait Implementations§
source§impl Clone for RepoReference
impl Clone for RepoReference
source§fn clone(&self) -> RepoReference
fn clone(&self) -> RepoReference
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 RepoReference
impl Debug for RepoReference
source§impl<'de> Deserialize<'de> for RepoReference
impl<'de> Deserialize<'de> for RepoReference
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RepoReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RepoReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<RepoReference> for RepoReference
impl PartialEq<RepoReference> for RepoReference
source§fn eq(&self, other: &RepoReference) -> bool
fn eq(&self, other: &RepoReference) -> bool
source§impl Serialize for RepoReference
impl Serialize for RepoReference
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more