Struct coreemu::core::StartSessionRequest [−][src]
pub struct StartSessionRequest {Show 13 fields
pub session_id: i32,
pub nodes: Vec<Node>,
pub links: Vec<Link>,
pub hooks: Vec<Hook>,
pub location: Option<SessionLocation>,
pub emane_config: HashMap<String, String>,
pub wlan_configs: Vec<WlanConfig>,
pub emane_model_configs: Vec<EmaneModelConfig>,
pub mobility_configs: Vec<MobilityConfig>,
pub service_configs: Vec<ServiceConfig>,
pub service_file_configs: Vec<ServiceFileConfig>,
pub asymmetric_links: Vec<Link>,
pub config_service_configs: Vec<ConfigServiceConfig>,
}
Expand description
rpc request/response messages
Fields
session_id: i32
nodes: Vec<Node>
links: Vec<Link>
hooks: Vec<Hook>
location: Option<SessionLocation>
emane_config: HashMap<String, String>
wlan_configs: Vec<WlanConfig>
emane_model_configs: Vec<EmaneModelConfig>
mobility_configs: Vec<MobilityConfig>
service_configs: Vec<ServiceConfig>
service_file_configs: Vec<ServiceFileConfig>
asymmetric_links: Vec<Link>
config_service_configs: Vec<ConfigServiceConfig>
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StartSessionRequest
impl Send for StartSessionRequest
impl Sync for StartSessionRequest
impl Unpin for StartSessionRequest
impl UnwindSafe for StartSessionRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more