[][src]Struct soundcloud::Comment

pub struct Comment {
    pub id: usize,
    pub uri: String,
    pub created_at: String,
    pub body: String,
    pub timestamp: Option<usize>,
    pub user_id: usize,
    pub user: User,
    pub track_id: usize,
}

User comment.

Fields

id: usize

Integer ID.

uri: String

API resource URL.

created_at: String

Time of creation, as an unparsed string.

body: String

HTML comment body.

timestamp: Option<usize>

Associated timestamp in milliseconds.

user_id: usize

User ID of the commenter.

user: User

Small representation of the commenters user.

track_id: usize

The track ID of the related track.

Trait Implementations

impl Clone for Comment[src]

impl Debug for Comment[src]

impl<'de> Deserialize<'de> for Comment[src]

impl Serialize for Comment[src]

Auto Trait Implementations

impl RefUnwindSafe for Comment

impl Send for Comment

impl Sync for Comment

impl Unpin for Comment

impl UnwindSafe for Comment

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.