Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EmailAddress

import type { EmailAddress } from "https://googleapis.deno.dev/v1/people:v1.ts";

A person's email address.

interface EmailAddress {
displayName?: string;
readonly formattedType?: string;
metadata?: FieldMetadata;
type?: string;
value?: string;
}

§Properties

§
displayName?: string
[src]

The display name of the email.

§
readonly formattedType?: string
[src]

Output only. The type of the email address translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

§

Metadata about the email address.

§
type?: string
[src]

The type of the email address. The type can be custom or one of these predefined values: * home * work * other

§
value?: string
[src]

The email address.