Struct peertube::data::Import [−][src]
pub struct Import { pub id: u32, pub target_url: String, pub magnet_uri: Option<String>, pub torrent_name: Option<String>, pub state: State, pub error: Option<String>, pub created_at: DateTime<Utc>, pub updated_at: DateTime<Utc>, pub video: Video, }
Fields
id: u32
target_url: String
magnet_uri: Option<String>
torrent_name: Option<String>
state: State
error: Option<String>
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
video: Video
Trait Implementations
impl<'de> Deserialize<'de> for Import
[src]
impl<'de> Deserialize<'de> for Import
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnwindSafe for Import
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,