[][src]Struct vinyl_core::proto::transport::QueryComponent

pub struct QueryComponent {
    pub child: SingularPtrField<QueryComponent>,
    pub children: RepeatedField<QueryComponent>,
    pub component_type: QueryComponent_ComponentType,
    pub field: SingularPtrField<Field>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

child: SingularPtrField<QueryComponent>children: RepeatedField<QueryComponent>component_type: QueryComponent_ComponentTypefield: SingularPtrField<Field>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl QueryComponent[src]

pub fn new() -> QueryComponent[src]

pub fn get_child(&self) -> &QueryComponent[src]

pub fn clear_child(&mut self)[src]

pub fn has_child(&self) -> bool[src]

pub fn set_child(&mut self, v: QueryComponent)[src]

pub fn mut_child(&mut self) -> &mut QueryComponent[src]

pub fn take_child(&mut self) -> QueryComponent[src]

pub fn get_children(&self) -> &[QueryComponent][src]

pub fn clear_children(&mut self)[src]

pub fn set_children(&mut self, v: RepeatedField<QueryComponent>)[src]

pub fn mut_children(&mut self) -> &mut RepeatedField<QueryComponent>[src]

pub fn take_children(&mut self) -> RepeatedField<QueryComponent>[src]

pub fn get_component_type(&self) -> QueryComponent_ComponentType[src]

pub fn clear_component_type(&mut self)[src]

pub fn set_component_type(&mut self, v: QueryComponent_ComponentType)[src]

pub fn get_field(&self) -> &Field[src]

pub fn clear_field(&mut self)[src]

pub fn has_field(&self) -> bool[src]

pub fn set_field(&mut self, v: Field)[src]

pub fn mut_field(&mut self) -> &mut Field[src]

pub fn take_field(&mut self) -> Field[src]

Trait Implementations

impl Default for QueryComponent[src]

impl<'a> Default for &'a QueryComponent[src]

impl Clone for QueryComponent[src]

impl PartialEq<QueryComponent> for QueryComponent[src]

impl Debug for QueryComponent[src]

impl Message for QueryComponent[src]

impl Clear for QueryComponent[src]

impl ProtobufValue for QueryComponent[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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