pub struct RepositoryPresentation {
pub label: String,
pub context: Option<RepositoryContextInfo>,
}Fields§
§label: String§context: Option<RepositoryContextInfo>Trait Implementations§
Source§impl Clone for RepositoryPresentation
impl Clone for RepositoryPresentation
Source§fn clone(&self) -> RepositoryPresentation
fn clone(&self) -> RepositoryPresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepositoryPresentation
impl Debug for RepositoryPresentation
impl Eq for RepositoryPresentation
Source§impl JsonSchema for RepositoryPresentation
impl JsonSchema for RepositoryPresentation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RepositoryPresentation
impl PartialEq for RepositoryPresentation
Source§fn eq(&self, other: &RepositoryPresentation) -> bool
fn eq(&self, other: &RepositoryPresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepositoryPresentation
impl Serialize for RepositoryPresentation
impl StructuralPartialEq for RepositoryPresentation
Auto Trait Implementations§
impl Freeze for RepositoryPresentation
impl RefUnwindSafe for RepositoryPresentation
impl Send for RepositoryPresentation
impl Sync for RepositoryPresentation
impl Unpin for RepositoryPresentation
impl UnsafeUnpin for RepositoryPresentation
impl UnwindSafe for RepositoryPresentation
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