Struct mesos::proto::mesos::Offer [] [src]

pub struct Offer {
    // some fields omitted
}

Methods

impl Offer
[src]

fn new() -> Offer

fn default_instance() -> &'static Offer

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_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_hostname(&mut self)

fn has_hostname(&self) -> bool

fn set_hostname(&mut self, v: String)

fn mut_hostname<'a>(&'a mut self) -> &'a mut String

fn take_hostname(&mut self) -> String

fn get_hostname<'a>(&'a self) -> &'a str

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_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]

fn clear_attributes(&mut self)

fn set_attributes(&mut self, v: RepeatedField<Attribute>)

fn mut_attributes<'a>(&'a mut self) -> &'a mut RepeatedField<Attribute>

fn take_attributes(&mut self) -> RepeatedField<Attribute>

fn get_attributes<'a>(&'a self) -> &'a [Attribute]

fn clear_executor_ids(&mut self)

fn set_executor_ids(&mut self, v: RepeatedField<ExecutorID>)

fn mut_executor_ids<'a>(&'a mut self) -> &'a mut RepeatedField<ExecutorID>

fn take_executor_ids(&mut self) -> RepeatedField<ExecutorID>

fn get_executor_ids<'a>(&'a self) -> &'a [ExecutorID]

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

Trait Implementations

impl Default for Offer
[src]

fn default() -> Offer

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

impl Clone for Offer
[src]

fn clone(&self) -> Offer

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

fn new() -> Offer

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

impl Clear for Offer
[src]

fn clear(&mut self)

impl PartialEq for Offer
[src]

fn eq(&self, other: &Offer) -> 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 Offer
[src]

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

Formats the value using the given formatter.