pub struct RawAppEmbedBody {
pub external_embed_url: Option<Option<String>>,
pub project_slug: String,
}Fields§
§external_embed_url: Option<Option<String>>explicit null clears the embed (unpublish)
project_slug: Stringhub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
Implementations§
Source§impl RawAppEmbedBody
impl RawAppEmbedBody
pub fn new(project_slug: String) -> RawAppEmbedBody
Trait Implementations§
Source§impl Clone for RawAppEmbedBody
impl Clone for RawAppEmbedBody
Source§fn clone(&self) -> RawAppEmbedBody
fn clone(&self) -> RawAppEmbedBody
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 RawAppEmbedBody
impl Debug for RawAppEmbedBody
Source§impl Default for RawAppEmbedBody
impl Default for RawAppEmbedBody
Source§fn default() -> RawAppEmbedBody
fn default() -> RawAppEmbedBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RawAppEmbedBody
impl<'de> Deserialize<'de> for RawAppEmbedBody
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 RawAppEmbedBody
impl PartialEq for RawAppEmbedBody
Source§impl Serialize for RawAppEmbedBody
impl Serialize for RawAppEmbedBody
impl StructuralPartialEq for RawAppEmbedBody
Auto Trait Implementations§
impl Freeze for RawAppEmbedBody
impl RefUnwindSafe for RawAppEmbedBody
impl Send for RawAppEmbedBody
impl Sync for RawAppEmbedBody
impl Unpin for RawAppEmbedBody
impl UnsafeUnpin for RawAppEmbedBody
impl UnwindSafe for RawAppEmbedBody
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