Struct mesos::proto::mesos::Operation_Reserve
[−]
[src]
pub struct Operation_Reserve { // some fields omitted }
Methods
impl Operation_Reserve
[src]
fn new() -> Operation_Reserve
fn default_instance() -> &'static Operation_Reserve
fn clear_resources(&mut self)
fn set_resources(&mut self, v: RepeatedField<Resource>)
fn mut_resources<'a>(&'a mut self) -> &'a mut RepeatedField<Resource>
fn take_resources(&mut self) -> RepeatedField<Resource>
fn get_resources<'a>(&'a self) -> &'a [Resource]
Trait Implementations
impl Default for Operation_Reserve
[src]
fn default() -> Operation_Reserve
Returns the "default value" for a type. Read more
impl Clone for Operation_Reserve
[src]
fn clone(&self) -> Operation_Reserve
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Message for Operation_Reserve
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields
fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields
fn type_id(&self) -> TypeId
fn as_any(&self) -> &Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
impl MessageStatic for Operation_Reserve
[src]
fn new() -> Operation_Reserve
fn descriptor_static(_: Option<Operation_Reserve>) -> &'static MessageDescriptor
impl Clear for Operation_Reserve
[src]
fn clear(&mut self)
impl PartialEq for Operation_Reserve
[src]
fn eq(&self, other: &Operation_Reserve) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.