Struct mesos::proto::mesos::InverseOffer [] [src]

pub struct InverseOffer {
    // some fields omitted
}

Methods

impl InverseOffer
[src]

fn new() -> InverseOffer

fn default_instance() -> &'static InverseOffer

fn clear_id(&mut self)

fn has_id(&self) -> bool

fn set_id(&mut self, v: OfferID)

fn mut_id<'a>(&'a mut self) -> &'a mut OfferID

fn take_id(&mut self) -> OfferID

fn get_id<'a>(&'a self) -> &'a OfferID

fn clear_url(&mut self)

fn has_url(&self) -> bool

fn set_url(&mut self, v: URL)

fn mut_url<'a>(&'a mut self) -> &'a mut URL

fn take_url(&mut self) -> URL

fn get_url<'a>(&'a self) -> &'a URL

fn clear_framework_id(&mut self)

fn has_framework_id(&self) -> bool

fn set_framework_id(&mut self, v: FrameworkID)

fn mut_framework_id<'a>(&'a mut self) -> &'a mut FrameworkID

fn take_framework_id(&mut self) -> FrameworkID

fn get_framework_id<'a>(&'a self) -> &'a FrameworkID

fn clear_agent_id(&mut self)

fn has_agent_id(&self) -> bool

fn set_agent_id(&mut self, v: AgentID)

fn mut_agent_id<'a>(&'a mut self) -> &'a mut AgentID

fn take_agent_id(&mut self) -> AgentID

fn get_agent_id<'a>(&'a self) -> &'a AgentID

fn clear_unavailability(&mut self)

fn has_unavailability(&self) -> bool

fn set_unavailability(&mut self, v: Unavailability)

fn mut_unavailability<'a>(&'a mut self) -> &'a mut Unavailability

fn take_unavailability(&mut self) -> Unavailability

fn get_unavailability<'a>(&'a self) -> &'a Unavailability

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 InverseOffer
[src]

fn default() -> InverseOffer

Returns the "default value" for a type. Read more

impl Clone for InverseOffer
[src]

fn clone(&self) -> InverseOffer

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 InverseOffer
[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 InverseOffer
[src]

fn new() -> InverseOffer

fn descriptor_static(_: Option<InverseOffer>) -> &'static MessageDescriptor

impl Clear for InverseOffer
[src]

fn clear(&mut self)

impl PartialEq for InverseOffer
[src]

fn eq(&self, other: &InverseOffer) -> 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 !=.

impl Debug for InverseOffer
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.