pub struct CreateDynVideo {Show 32 fields
pub relation_from: String,
pub follow_mids: Vec<i64>,
pub biz_from: i32,
pub copyright: i32,
pub no_public: i32,
pub no_reprint: i32,
pub source: String,
pub cover: String,
pub title: String,
pub tid: i64,
pub tag: String,
pub desc: String,
pub desc_format_id: i64,
pub open_elec: i32,
pub dtime: i32,
pub videos: Vec<DynVideoMultiP>,
pub watermark: Option<DynVideoWatermark>,
pub mission_id: i64,
pub dynamic: String,
pub dynamic_extension: String,
pub dynamic_ctrl: String,
pub dynamic_from: String,
pub lottery_id: i64,
pub vote: Option<DynVideoVote>,
pub up_selection_reply: bool,
pub up_close_reply: bool,
pub up_close_danmu: bool,
pub up_from: i64,
pub duration: i64,
pub topic_id: i64,
pub upload_id: String,
pub topic_detail: Option<DynVideoTopic>,
}Expand description
Fields§
§relation_from: String§follow_mids: Vec<i64>§biz_from: i32§copyright: i32§no_public: i32§no_reprint: i32§source: String§cover: String§title: String§tid: i64§tag: String§desc: String§desc_format_id: i64§open_elec: i32§dtime: i32§videos: Vec<DynVideoMultiP>§watermark: Option<DynVideoWatermark>§mission_id: i64§dynamic: String§dynamic_extension: String§dynamic_ctrl: String§dynamic_from: String§lottery_id: i64§vote: Option<DynVideoVote>§up_selection_reply: bool§up_close_reply: bool§up_close_danmu: bool§up_from: i64§duration: i64§topic_id: i64§upload_id: String§topic_detail: Option<DynVideoTopic>Trait Implementations§
Source§impl Clone for CreateDynVideo
impl Clone for CreateDynVideo
Source§fn clone(&self) -> CreateDynVideo
fn clone(&self) -> CreateDynVideo
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 CreateDynVideo
impl Debug for CreateDynVideo
Source§impl Default for CreateDynVideo
impl Default for CreateDynVideo
Source§impl Message for CreateDynVideo
impl Message for CreateDynVideo
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 CreateDynVideo
impl PartialEq for CreateDynVideo
impl StructuralPartialEq for CreateDynVideo
Auto Trait Implementations§
impl Freeze for CreateDynVideo
impl RefUnwindSafe for CreateDynVideo
impl Send for CreateDynVideo
impl Sync for CreateDynVideo
impl Unpin for CreateDynVideo
impl UnwindSafe for CreateDynVideo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request