pub struct CodeEntry {
pub id: u64,
pub entry_type: CodeEntryType,
pub title: String,
pub code: String,
pub file_path: String,
pub language: String,
pub project: String,
pub symbols: Vec<String>,
pub tags: Vec<String>,
pub solution: Option<String>,
pub created_ms: u64,
pub access_count: u64,
}Fields§
§id: u64§entry_type: CodeEntryType§title: String§code: String§file_path: String§language: String§project: String§symbols: Vec<String>§solution: Option<String>§created_ms: u64§access_count: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeEntry
impl RefUnwindSafe for CodeEntry
impl Send for CodeEntry
impl Sync for CodeEntry
impl Unpin for CodeEntry
impl UnsafeUnpin for CodeEntry
impl UnwindSafe for CodeEntry
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more