pub struct SplitPaneRequest {
pub session: Option<String>,
pub split_direction: Option<i32>,
pub before: Option<bool>,
pub profile_name: Option<String>,
pub custom_profile_properties: Vec<ProfileProperty>,
}Fields§
§session: Option<String>§split_direction: Option<i32>§before: Option<bool>§profile_name: Option<String>§custom_profile_properties: Vec<ProfileProperty>Implementations§
Source§impl SplitPaneRequest
impl SplitPaneRequest
Sourcepub fn session(&self) -> &str
pub fn session(&self) -> &str
Returns the value of session, or the default value if session is unset.
Sourcepub fn split_direction(&self) -> SplitDirection
pub fn split_direction(&self) -> SplitDirection
Returns the enum value of split_direction, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_split_direction(&mut self, value: SplitDirection)
pub fn set_split_direction(&mut self, value: SplitDirection)
Sets split_direction to the provided enum value.
Sourcepub fn before(&self) -> bool
pub fn before(&self) -> bool
Returns the value of before, or the default value if before is unset.
Sourcepub fn profile_name(&self) -> &str
pub fn profile_name(&self) -> &str
Returns the value of profile_name, or the default value if profile_name is unset.
Trait Implementations§
Source§impl Clone for SplitPaneRequest
impl Clone for SplitPaneRequest
Source§fn clone(&self) -> SplitPaneRequest
fn clone(&self) -> SplitPaneRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplitPaneRequest
impl Debug for SplitPaneRequest
Source§impl Default for SplitPaneRequest
impl Default for SplitPaneRequest
Source§impl Message for SplitPaneRequest
impl Message for SplitPaneRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for SplitPaneRequest
impl PartialEq for SplitPaneRequest
impl StructuralPartialEq for SplitPaneRequest
Auto Trait Implementations§
impl Freeze for SplitPaneRequest
impl RefUnwindSafe for SplitPaneRequest
impl Send for SplitPaneRequest
impl Sync for SplitPaneRequest
impl Unpin for SplitPaneRequest
impl UnsafeUnpin for SplitPaneRequest
impl UnwindSafe for SplitPaneRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more