Struct gapi_grpc::google::type::Fraction[][src]

pub struct Fraction {
    pub numerator: i64,
    pub denominator: i64,
}

Represents a fraction in terms of a numerator divided by a denominator.

Fields

numerator: i64

The numerator in the fraction, e.g. 2 in 2/3.

denominator: i64

The value by which the numerator is divided, e.g. 3 in 2/3. Must be positive.

Trait Implementations

impl Clone for Fraction[src]

impl Debug for Fraction[src]

impl Default for Fraction[src]

impl Message for Fraction[src]

impl PartialEq<Fraction> for Fraction[src]

impl StructuralPartialEq for Fraction[src]

Auto Trait Implementations

impl RefUnwindSafe for Fraction

impl Send for Fraction

impl Sync for Fraction

impl Unpin for Fraction

impl UnwindSafe for Fraction

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]