pub struct CreateSegmentCommand {
pub request_id: i64,
pub segment: String,
pub target_rate: i32,
pub scale_type: u8,
pub delegation_token: String,
}
Expand description
- CreateSegment Command
Fields§
§request_id: i64
§segment: String
§target_rate: i32
§scale_type: u8
§delegation_token: String
Trait Implementations§
Source§impl Clone for CreateSegmentCommand
impl Clone for CreateSegmentCommand
Source§fn clone(&self) -> CreateSegmentCommand
fn clone(&self) -> CreateSegmentCommand
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 Command for CreateSegmentCommand
impl Command for CreateSegmentCommand
Source§impl Debug for CreateSegmentCommand
impl Debug for CreateSegmentCommand
Source§impl<'de> Deserialize<'de> for CreateSegmentCommand
impl<'de> Deserialize<'de> for CreateSegmentCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateSegmentCommand
impl PartialEq for CreateSegmentCommand
Source§impl Request for CreateSegmentCommand
impl Request for CreateSegmentCommand
Source§impl Serialize for CreateSegmentCommand
impl Serialize for CreateSegmentCommand
impl StructuralPartialEq for CreateSegmentCommand
Auto Trait Implementations§
impl Freeze for CreateSegmentCommand
impl RefUnwindSafe for CreateSegmentCommand
impl Send for CreateSegmentCommand
impl Sync for CreateSegmentCommand
impl Unpin for CreateSegmentCommand
impl UnwindSafe for CreateSegmentCommand
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