Enum google_api_proto::google::devtools::resultstore::v2::Language
source · #[repr(i32)]pub enum Language {
Show 22 variants
Unspecified = 0,
None = 1,
Android = 2,
As = 3,
Cc = 4,
Css = 5,
Dart = 6,
Go = 7,
Gwt = 8,
Haskell = 9,
Java = 10,
Js = 11,
Lisp = 12,
Objc = 13,
Py = 14,
Sh = 15,
Swift = 16,
Ts = 18,
Web = 19,
Scala = 20,
Proto = 21,
Xml = 22,
}
Expand description
These correspond to the prefix of the rule name. Eg cc_test has language CC.
Variants§
Unspecified = 0
Language unspecified or not listed here.
None = 1
Not related to any particular language
Android = 2
Android
As = 3
ActionScript (Flash)
Cc = 4
C++ or C
Css = 5
Cascading-Style-Sheets
Dart = 6
Dart
Go = 7
Go
Gwt = 8
Google-Web-Toolkit
Haskell = 9
Haskell
Java = 10
Java
Js = 11
Javascript
Lisp = 12
Lisp
Objc = 13
Objective-C
Py = 14
Python
Sh = 15
Shell (Typically Bash)
Swift = 16
Swift
Ts = 18
TypeScript
Web = 19
Webtesting
Scala = 20
Scala
Proto = 21
Protocol Buffer
Xml = 22
Extensible Markup Language
Implementations§
source§impl Language
impl Language
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Language
impl Ord for Language
source§impl PartialEq for Language
impl PartialEq for Language
source§impl PartialOrd for Language
impl PartialOrd for Language
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Language
impl TryFrom<i32> for Language
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
impl Copy for Language
impl Eq for Language
impl StructuralPartialEq for Language
Auto Trait Implementations§
impl Freeze for Language
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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>
Wrap the input message
T
in a tonic::Request