Struct actix_tools::sentry::sentry_client::protocol::RepoReference [−]
pub struct RepoReference { pub name: String, pub prefix: Option<String>, pub revision: Option<String>, }
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
impl Serialize for RepoReference
impl Serialize for RepoReference
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
impl Clone for RepoReference
impl Clone for RepoReference
fn clone(&self) -> RepoReference
fn clone(&self) -> RepoReference
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RepoReference
impl Debug for RepoReference
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for RepoReference
impl<'de> Deserialize<'de> for RepoReference
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
impl PartialEq<RepoReference> for RepoReference
impl PartialEq<RepoReference> for RepoReference
fn eq(&self, other: &RepoReference) -> bool
fn eq(&self, other: &RepoReference) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RepoReference) -> bool
fn ne(&self, other: &RepoReference) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for RepoReference
impl Send for RepoReference
impl Sync for RepoReference
impl Sync for RepoReference