pub struct AddonEntryPointDeclaration {
pub id: String,
pub kind: AddonEntryPointKind,
pub label: String,
pub path: String,
pub hosted_page_id: Option<String>,
pub required_scopes: Vec<AddonScope>,
}Fields§
§id: String§kind: AddonEntryPointKind§label: String§path: String§hosted_page_id: Option<String>§required_scopes: Vec<AddonScope>Implementations§
Source§impl AddonEntryPointDeclaration
impl AddonEntryPointDeclaration
pub fn hosted_page( id: impl Into<String>, kind: AddonEntryPointKind, label: impl Into<String>, path: impl Into<String>, hosted_page_id: impl Into<String>, required_scopes: Vec<AddonScope>, ) -> Self
pub fn action( id: impl Into<String>, kind: AddonEntryPointKind, label: impl Into<String>, path: impl Into<String>, required_scopes: Vec<AddonScope>, ) -> Self
Trait Implementations§
Source§impl Clone for AddonEntryPointDeclaration
impl Clone for AddonEntryPointDeclaration
Source§fn clone(&self) -> AddonEntryPointDeclaration
fn clone(&self) -> AddonEntryPointDeclaration
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 AddonEntryPointDeclaration
impl Debug for AddonEntryPointDeclaration
Source§impl<'de> Deserialize<'de> for AddonEntryPointDeclaration
impl<'de> Deserialize<'de> for AddonEntryPointDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddonEntryPointDeclaration
impl PartialEq for AddonEntryPointDeclaration
Source§fn eq(&self, other: &AddonEntryPointDeclaration) -> bool
fn eq(&self, other: &AddonEntryPointDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AddonEntryPointDeclaration
impl StructuralPartialEq for AddonEntryPointDeclaration
Auto Trait Implementations§
impl Freeze for AddonEntryPointDeclaration
impl RefUnwindSafe for AddonEntryPointDeclaration
impl Send for AddonEntryPointDeclaration
impl Sync for AddonEntryPointDeclaration
impl Unpin for AddonEntryPointDeclaration
impl UnsafeUnpin for AddonEntryPointDeclaration
impl UnwindSafe for AddonEntryPointDeclaration
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